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

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: Update a comment 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
Index: Source/modules/serviceworkers/CacheStorage.idl
diff --git a/Source/modules/serviceworkers/CacheStorage.idl b/Source/modules/serviceworkers/CacheStorage.idl
index c36ce34707c300b2b3b392ad3d7512a646be26da..5435e905e097a1704836d328b52a190775b5af99 100644
--- a/Source/modules/serviceworkers/CacheStorage.idl
+++ b/Source/modules/serviceworkers/CacheStorage.idl
@@ -8,9 +8,8 @@
Exposed=ServiceWorker,
RuntimeEnabled=ServiceWorkerOnFetch,
] 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

Powered by Google App Engine
This is Rietveld 408576698