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

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

Issue 424643002: Introducing the WebServiceWorkerCacheStorage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: combine with prior CL Created 6 years, 5 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
deleted file mode 100644
index 07b23386867fb95bf125e5f766997ae81a0c63d6..0000000000000000000000000000000000000000
--- a/Source/modules/serviceworkers/CacheStorage.idl
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-[
- WillBeGarbageCollected,
- NoInterfaceObject,
- Exposed=ServiceWorker,
- RuntimeEnabled=ServiceWorker,
-] interface CacheStorage {
- [CallWith=ScriptState, ImplementedAs=createFunction] Promise create(ScalarValueString key);
- [CallWith=ScriptState] Promise rename(ScalarValueString oldKey, ScalarValueString newKey);
- [CallWith=ScriptState] Promise get(ScalarValueString key);
- [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(ScalarValueString key);
- [CallWith=ScriptState] Promise keys();
- // FIXME: There are a number of other missing methods here and an active discussion ongoing on https://github.com/slightlyoff/ServiceWorker/issue/314
- // and https://github.com/slightlyoff/ServiceWorker/issues/315 about which should stay in. Once that discussion resolves, add the rest of the methods.
-};

Powered by Google App Engine
This is Rietveld 408576698