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

Unified Diff: Source/modules/serviceworkers/Cache.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/Cache.cpp ('k') | Source/modules/serviceworkers/CacheQueryOptions.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Cache.idl
diff --git a/Source/modules/serviceworkers/Cache.idl b/Source/modules/serviceworkers/Cache.idl
deleted file mode 100644
index 0f30fe6aff80251a136cef9c390019c1199ef403..0000000000000000000000000000000000000000
--- a/Source/modules/serviceworkers/Cache.idl
+++ /dev/null
@@ -1,28 +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
-
-[
- GarbageCollected,
- Exposed=(Window,Worker),
- RuntimeEnabled=ServiceWorkerCache,
- TypeChecking=Interface,
-] interface Cache {
- [CallWith=ScriptState, RaisesException] Promise<Response> match(RequestInfo request, optional CacheQueryOptions options);
-
- // FIXME: Implement matchAll(): http://crbug.com/428363
- // FIXME: First argument of matchAll() should be optional: http://crbug.com/425459
- // [CallWith=ScriptState, RaisesException] Promise<sequence<Response>> matchAll(RequestInfo request, optional CacheQueryOptions options);
-
- // FIXME: Implement add(): http://crbug.com/427652
- // [CallWith=ScriptState, RaisesException] Promise<void> add(RequestInfo request);
-
- // FIXME: Implement addAll(): http://crbug.com/427652
- // [CallWith=ScriptState] Promise<void> addAll(sequence<RequestInfo> requests);
-
- [CallWith=ScriptState, RaisesException] Promise<void> put(RequestInfo request, Response response);
- [CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] Promise<boolean> delete(RequestInfo request, optional CacheQueryOptions options);
- [CallWith=ScriptState, RaisesException] Promise<sequence<Response>> keys(optional RequestInfo request, optional CacheQueryOptions options);
-};
« no previous file with comments | « Source/modules/serviceworkers/Cache.cpp ('k') | Source/modules/serviceworkers/CacheQueryOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698