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 9f16c054375759835270f822b7d0f9eda0b46520..cc57dc0043043aedb629ccd4d09a895d0af2dc9b 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" |
@@ -25,9 +24,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() { |
@@ -51,22 +48,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( |