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

Unified Diff: public/platform/WebServiceWorkerCacheStorage.h

Issue 638023003: [ServiceWorkerCacheStorage] Blink changes to remove create/get and add open function (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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 | « Source/modules/serviceworkers/CacheStorage.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebServiceWorkerCacheStorage.h
diff --git a/public/platform/WebServiceWorkerCacheStorage.h b/public/platform/WebServiceWorkerCacheStorage.h
index 6e983d1b76f4f6e1c5156e6677cef8cb42596f7c..6be7a8f4d05fe8931f049ca0707dfc9ee6b12688 100644
--- a/public/platform/WebServiceWorkerCacheStorage.h
+++ b/public/platform/WebServiceWorkerCacheStorage.h
@@ -29,11 +29,11 @@ public:
// Ownership of the CacheStorage*Callbacks methods passes to the WebServiceWorkerCacheStorage instance, which
// will delete it after calling onSuccess or onFailure.
- // dispatchGet() or dispatchCreate() can return a WebServiceWorkerCache object, and these objects are owned by
- // Blink, and should be destroyed when they are no longer needed.
- virtual void dispatchGet(CacheStorageWithCacheCallbacks*, const WebString& cacheName) = 0;
+ // dispatchOpen() can return a WebServiceWorkerCache object. These
+ // objects are owned by Blink and should be destroyed when they are no
+ // longer needed.
virtual void dispatchHas(CacheStorageCallbacks*, const WebString& cacheName) = 0;
- virtual void dispatchCreate(CacheStorageWithCacheCallbacks*, const WebString& cacheName) = 0;
+ virtual void dispatchOpen(CacheStorageWithCacheCallbacks*, const WebString& cacheName) = 0;
virtual void dispatchDelete(CacheStorageCallbacks*, const WebString& cacheName) = 0;
virtual void dispatchKeys(CacheStorageKeysCallbacks*) = 0;
};
« no previous file with comments | « Source/modules/serviceworkers/CacheStorage.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698