Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: content/browser/url_loader_factory_getter.cc

Issue 2902653002: Get main frame and subframe AppCache loads to work. (Closed)
Patch Set: Address review comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/url_loader_factory_getter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/url_loader_factory_getter.cc
diff --git a/content/browser/url_loader_factory_getter.cc b/content/browser/url_loader_factory_getter.cc
index 4cf6d39bcca832d64164677ba15161d730132e5a..d501351671bc43a47abf8efa0ca7cbbf54c483c5 100644
--- a/content/browser/url_loader_factory_getter.cc
+++ b/content/browser/url_loader_factory_getter.cc
@@ -5,7 +5,6 @@
#include "content/browser/url_loader_factory_getter.h"
#include "base/bind.h"
-#include "content/browser/appcache/appcache_url_loader_factory.h"
#include "content/browser/storage_partition_impl.h"
#include "content/common/network_service.mojom.h"
@@ -26,9 +25,7 @@ void URLLoaderFactoryGetter::Initialize(StoragePartitionImpl* partition) {
BrowserThread::IO, FROM_HERE,
base::BindOnce(&URLLoaderFactoryGetter::InitializeOnIOThread, this,
network_factory.PassInterface(),
- blob_factory.PassInterface(),
- scoped_refptr<ChromeAppCacheService>(
- partition->GetAppCacheService())));
+ blob_factory.PassInterface()));
}
mojom::URLLoaderFactoryPtr* URLLoaderFactoryGetter::GetNetworkFactory() {
@@ -52,22 +49,13 @@ void URLLoaderFactoryGetter::SetNetworkFactoryForTesting(
this, test_factory.PassInterface()));
}
-mojom::URLLoaderFactoryPtr* URLLoaderFactoryGetter::GetAppCacheFactory() {
- DCHECK_CURRENTLY_ON(BrowserThread::IO);
- return &appcache_factory_;
-}
-
URLLoaderFactoryGetter::~URLLoaderFactoryGetter() {}
void URLLoaderFactoryGetter::InitializeOnIOThread(
mojom::URLLoaderFactoryPtrInfo network_factory,
- mojom::URLLoaderFactoryPtrInfo blob_factory,
- scoped_refptr<ChromeAppCacheService> appcache_service) {
+ mojom::URLLoaderFactoryPtrInfo blob_factory) {
network_factory_.Bind(std::move(network_factory));
blob_factory_.Bind(std::move(blob_factory));
-
- AppCacheURLLoaderFactory::CreateURLLoaderFactory(
- mojo::MakeRequest(&appcache_factory_), appcache_service.get(), this);
}
void URLLoaderFactoryGetter::SetTestNetworkFactoryOnIOThread(
« no previous file with comments | « content/browser/url_loader_factory_getter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698