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

Unified Diff: content/browser/storage_partition_impl.cc

Issue 2891773002: Add a stub implementation of the URLLoaderFactory for AppCache. (Closed)
Patch Set: Address final round of comments Created 3 years, 7 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
Index: content/browser/storage_partition_impl.cc
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
index c1d56e14f369ffcd2efdeab22dc3f1c689b979b3..96c9472872f1fef2ea9885d0ddc68e3d5fde62fe 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -525,11 +525,7 @@ std::unique_ptr<StoragePartitionImpl> StoragePartitionImpl::Create(
MakeRequest(&partition->network_context_), std::move(context_params));
partition->url_loader_factory_getter_ = new URLLoaderFactoryGetter();
- mojom::URLLoaderFactoryPtr network_factory;
- partition->network_context_->CreateURLLoaderFactory(
- MakeRequest(&network_factory), 0);
- partition->url_loader_factory_getter_->Initialize(
- std::move(network_factory));
+ partition->url_loader_factory_getter_->Initialize(partition.get());
}
return partition;
« no previous file with comments | « content/browser/loader/navigation_url_loader_network_service.cc ('k') | content/browser/url_loader_factory_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698