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

Unified Diff: content/browser/storage_partition_impl_map.cc

Issue 637243003: Service Worker: Obey content settings when deciding to control a page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@content
Patch Set: explicit, and better log Created 6 years, 2 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/service_worker/service_worker_request_handler.cc ('k') | no next file » | 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 9042d173e3bd81a2a6ef79e785fbc6ac1f1d4ab5..924cc22bd5181ef7c6bddc25abf1f7380c8d5ca2 100644
--- a/content/browser/storage_partition_impl_map.cc
+++ b/content/browser/storage_partition_impl_map.cc
@@ -435,7 +435,8 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
URLRequestInterceptorScopedVector request_interceptors;
request_interceptors.push_back(
- ServiceWorkerRequestHandler::CreateInterceptor().release());
+ ServiceWorkerRequestHandler::CreateInterceptor(
+ browser_context_->GetResourceContext()).release());
// These calls must happen after StoragePartitionImpl::Create().
if (partition_domain.empty()) {
« no previous file with comments | « content/browser/service_worker/service_worker_request_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698