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

Unified Diff: content/browser/storage_partition_impl_map.cc

Issue 625433002: Pages controlled by ServiceWorkers should not participate in AppCaching (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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..6ff893e82017b8dba9158a977e978d07305907e3 100644
--- a/content/browser/storage_partition_impl_map.cc
+++ b/content/browser/storage_partition_impl_map.cc
@@ -14,6 +14,7 @@
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/threading/sequenced_worker_pool.h"
+#include "content/browser/appcache/appcache_interceptor.h"
#include "content/browser/appcache/chrome_appcache_service.h"
#include "content/browser/fileapi/browser_file_system_helper.h"
#include "content/browser/fileapi/chrome_blob_storage_context.h"
@@ -436,6 +437,8 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
URLRequestInterceptorScopedVector request_interceptors;
request_interceptors.push_back(
ServiceWorkerRequestHandler::CreateInterceptor().release());
+ request_interceptors.push_back(
+ AppCacheInterceptor::CreateStartInterceptor().release());
michaeln 2014/10/10 21:55:40 here's how we get the ordering we want
falken 2014/10/14 01:24:49 It took me a while to see how this works. Before t
michaeln 2014/10/14 01:52:42 Thats right.
// These calls must happen after StoragePartitionImpl::Create().
if (partition_domain.empty()) {

Powered by Google App Engine
This is Rietveld 408576698