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

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: 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 9ec5a94a752cbce308601e0bf128417759f8a4f6..752bf13569e574367b41fb6ef668cd31c4db77f3 100644
--- a/content/browser/service_worker/service_worker_cache_storage.h
+++ b/content/browser/service_worker/service_worker_cache_storage.h
@@ -17,7 +17,12 @@ namespace base {
class SequencedTaskRunner;
}
+namespace net {
+class URLRequestContext;
+}
+
namespace content {
+class ChromeBlobStorageContext;
class ServiceWorkerCache;
// TODO(jkarlin): Constrain the total bytes used per origin.
@@ -42,7 +47,9 @@ class ServiceWorkerCacheStorage {
ServiceWorkerCacheStorage(const base::FilePath& origin_path,
bool memory_only,
- base::SequencedTaskRunner* cache_task_runner);
+ base::SequencedTaskRunner* cache_task_runner,
+ net::URLRequestContext* request_context,
+ ChromeBlobStorageContext* blob_context);
michaeln 2014/08/12 03:48:52 ditto base::WeakPtr<webkit_blob::BlobStorageContex
virtual ~ServiceWorkerCacheStorage();

Powered by Google App Engine
This is Rietveld 408576698