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

Unified Diff: content/browser/service_worker/service_worker_cache_storage.h

Issue 459003002: Plumbs URLRequestContext and CacheBlobStorageContext down to cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cache1
Patch Set: nits Created 6 years, 4 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/service_worker/service_worker_cache_storage.h
diff --git a/content/browser/service_worker/service_worker_cache_storage.h b/content/browser/service_worker/service_worker_cache_storage.h
index a518e7b855e5357dbb345aeecb79c5a785f4135d..71037b4327e695b2bdbf1d806e5d0ceaa557fe01 100644
--- a/content/browser/service_worker/service_worker_cache_storage.h
+++ b/content/browser/service_worker/service_worker_cache_storage.h
@@ -17,6 +17,14 @@ namespace base {
class SequencedTaskRunner;
}
+namespace net {
+class URLRequestContext;
+}
+
+namespace webkit_blob {
+class BlobStorageContext;
+}
+
namespace content {
class ServiceWorkerCache;
@@ -41,9 +49,12 @@ class ServiceWorkerCacheStorage {
typedef base::Callback<void(const std::vector<std::string>&,
CacheStorageError)> StringsAndErrorCallback;
- ServiceWorkerCacheStorage(const base::FilePath& origin_path,
- bool memory_only,
- base::SequencedTaskRunner* cache_task_runner);
+ ServiceWorkerCacheStorage(
+ const base::FilePath& origin_path,
+ bool memory_only,
+ base::SequencedTaskRunner* cache_task_runner,
+ net::URLRequestContext* request_context,
+ base::WeakPtr<webkit_blob::BlobStorageContext> blob_context);
virtual ~ServiceWorkerCacheStorage();
« no previous file with comments | « content/browser/service_worker/service_worker_cache.cc ('k') | content/browser/service_worker/service_worker_cache_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698