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

Unified Diff: content/browser/storage_partition_impl_map.cc

Issue 187223003: Allow content layer to pass ProtocolInterceptors when we create URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_map.cc
diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc
index 656469c889e802b2ee7acd6bfeeb89bc2c3c8088..50c17e88070962baee9752eee65bb1f4fbd681bf 100644
--- a/content/browser/storage_partition_impl_map.cc
+++ b/content/browser/storage_partition_impl_map.cc
@@ -416,12 +416,16 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
partition->SetURLRequestContext(
GetContentClient()->browser()->CreateRequestContext(
browser_context_,
- &protocol_handlers));
+ &protocol_handlers,
+ ProtocolHandlerScopedVector()));
} else {
partition->SetURLRequestContext(
GetContentClient()->browser()->CreateRequestContextForStoragePartition(
- browser_context_, partition->GetPath(), in_memory,
- &protocol_handlers));
+ browser_context_,
+ partition->GetPath(),
+ in_memory,
+ &protocol_handlers,
+ ProtocolHandlerScopedVector()));
}
partition->SetMediaURLRequestContext(
partition_domain.empty() ?

Powered by Google App Engine
This is Rietveld 408576698