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

Unified Diff: content/renderer/service_worker/service_worker_cache_storage_dispatcher.h

Issue 544413002: Patch on top of https://codereview.chromium.org/474593002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sw-gavin
Patch Set: Created 6 years, 3 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 | « no previous file | content/renderer/service_worker/service_worker_cache_storage_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/service_worker/service_worker_cache_storage_dispatcher.h
diff --git a/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h b/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h
index ccc0cc7bc7f0a73bee6e414dd05327d7ef836b10..3c10205b832c9232e5e97fe76c3b9f2823121241 100644
--- a/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h
+++ b/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h
@@ -127,6 +127,7 @@ class ServiceWorkerCacheStorageDispatcher
IDMapOwnPointer> WithResponsesCallbacksMap;
typedef IDMap<blink::WebServiceWorkerCache::CacheWithRequestsCallbacks,
IDMapOwnPointer> WithRequestsCallbacksMap;
+ typedef IDMap<WebCache, IDMapExternalPointer> WebCacheMap;
// Not owned. The script context containing this object.
ServiceWorkerScriptContext* script_context_;
@@ -138,7 +139,7 @@ class ServiceWorkerCacheStorageDispatcher
KeysCallbacksMap keys_callbacks_;
// The individual caches created under this CacheStorage object.
- IDMap<WebCache, IDMapExternalPointer> web_caches_;
+ WebCacheMap web_caches_;
// These ID maps are held in the CacheStorage object rather than the Cache
// object to ensure that the IDs are unique.
« no previous file with comments | « no previous file | content/renderer/service_worker/service_worker_cache_storage_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698