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

Unified Diff: Source/modules/serviceworkers/CacheStorage.idl

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.cpp ('k') | public/platform/WebServiceWorkerCacheStorage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/CacheStorage.idl
diff --git a/Source/modules/serviceworkers/CacheStorage.idl b/Source/modules/serviceworkers/CacheStorage.idl
index 815b7da70d9b106b089e0f0de912d6e7da297b01..50c4c5f1a9a7b872df506774c0d668786ffd9d62 100644
--- a/Source/modules/serviceworkers/CacheStorage.idl
+++ b/Source/modules/serviceworkers/CacheStorage.idl
@@ -8,9 +8,8 @@
Exposed=ServiceWorker,
RuntimeEnabled=ServiceWorkerCache,
] interface CacheStorage {
- [CallWith=ScriptState] Promise get(ScalarValueString cacheName);
[CallWith=ScriptState] Promise has(ScalarValueString cacheName);
- [CallWith=ScriptState, ImplementedAs=createFunction] Promise create(ScalarValueString cacheName);
+ [CallWith=ScriptState] Promise open(ScalarValueString cacheName);
[CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(ScalarValueString cacheName);
[CallWith=ScriptState] Promise keys();
// FIXME: From https://github.com/slightlyoff/ServiceWorker/issues/372 and the updated
« no previous file with comments | « Source/modules/serviceworkers/CacheStorage.cpp ('k') | public/platform/WebServiceWorkerCacheStorage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698