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

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

Issue 1055543004: Move Cache Storage API implementation to modules/cachestorage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 9 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') | Source/modules/serviceworkers/CacheTest.cpp » ('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
deleted file mode 100644
index 5cee9d7aafa4a52b035e956e43eb82a0e705fccc..0000000000000000000000000000000000000000
--- a/Source/modules/serviceworkers/CacheStorage.idl
+++ /dev/null
@@ -1,17 +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.
-
-// See https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#cache-storage
-[
- GarbageCollected,
- Exposed=(Window,Worker),
- RuntimeEnabled=ServiceWorkerCache,
- TypeChecking=Interface,
-] interface CacheStorage {
- [CallWith=ScriptState] Promise<boolean> has(DOMString cacheName);
- [CallWith=ScriptState] Promise<Cache> open(DOMString cacheName);
- [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise<boolean> delete(DOMString cacheName);
- [CallWith=ScriptState] Promise<sequence<DOMString>> keys();
- [CallWith=ScriptState, RaisesException] Promise<Response> match(RequestInfo request, optional CacheQueryOptions options);
-};
« no previous file with comments | « Source/modules/serviceworkers/CacheStorage.cpp ('k') | Source/modules/serviceworkers/CacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698