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

Unified Diff: content/browser/storage_partition_impl_map.cc

Issue 2860903006: Handle webuis when using the network service. (Closed)
Patch Set: merge 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
« no previous file with comments | « content/browser/loader/resource_request_info_impl.cc ('k') | content/browser/tracing/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d3ed9409aecf3126d94ddd64aacfb6a30bef0e62..e71456af22f08ad6bcf586ee1a38599671db4afb 100644
--- a/content/browser/storage_partition_impl_map.cc
+++ b/content/browser/storage_partition_impl_map.cc
@@ -419,7 +419,6 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
linked_ptr<net::URLRequestJobFactory::ProtocolHandler>(
URLDataManagerBackend::CreateProtocolHandler(
browser_context_->GetResourceContext(),
- browser_context_->IsOffTheRecord(),
blob_storage_context).release());
std::vector<std::string> additional_webui_schemes;
GetContentClient()->browser()->GetAdditionalWebUISchemes(
@@ -432,13 +431,13 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
linked_ptr<net::URLRequestJobFactory::ProtocolHandler>(
URLDataManagerBackend::CreateProtocolHandler(
browser_context_->GetResourceContext(),
- browser_context_->IsOffTheRecord(),
blob_storage_context).release());
}
+
protocol_handlers[kChromeDevToolsScheme] =
linked_ptr<net::URLRequestJobFactory::ProtocolHandler>(
- CreateDevToolsProtocolHandler(browser_context_->GetResourceContext(),
- browser_context_->IsOffTheRecord()));
+ CreateDevToolsProtocolHandler(
+ browser_context_->GetResourceContext()));
URLRequestInterceptorScopedVector request_interceptors;
request_interceptors.push_back(ServiceWorkerRequestHandler::CreateInterceptor(
« no previous file with comments | « content/browser/loader/resource_request_info_impl.cc ('k') | content/browser/tracing/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698