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

Side by Side Diff: Source/modules/serviceworkers/Cache.idl

Issue 458853002: [ServiceWorker] Add missing method to Cache.idl. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@2b-cleanup
Patch Set: narrow Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // See https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.htm l#cache 5 // See https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.htm l#cache
6 6
7 // FIXME: Blink doesn't support dictionary definitions. For now, we can use the 7 // FIXME: Blink doesn't support dictionary definitions. For now, we can use the
8 // Dictionary interface. See http://crbug.com/321462 8 // Dictionary interface. See http://crbug.com/321462
9 9
10 // dictionary QueryParams { 10 // dictionary QueryParams {
(...skipping 15 matching lines...) Expand all
26 // [CallWith=ScriptState] Promise match((Request or ScalarValueString) request , optional Dictionary queryParams); 26 // [CallWith=ScriptState] Promise match((Request or ScalarValueString) request , optional Dictionary queryParams);
27 [CallWith=ScriptState] Promise match(Request request, optional Dictionary quer yParams); 27 [CallWith=ScriptState] Promise match(Request request, optional Dictionary quer yParams);
28 [CallWith=ScriptState] Promise match(ScalarValueString request, optional Dicti onary queryParams); 28 [CallWith=ScriptState] Promise match(ScalarValueString request, optional Dicti onary queryParams);
29 29
30 // [CallWith=ScriptState] Promise matchAll((Request or ScalarValueString) requ est, optional Dictionary queryParams); 30 // [CallWith=ScriptState] Promise matchAll((Request or ScalarValueString) requ est, optional Dictionary queryParams);
31 [CallWith=ScriptState] Promise matchAll(Request request, optional Dictionary q ueryParams); 31 [CallWith=ScriptState] Promise matchAll(Request request, optional Dictionary q ueryParams);
32 [CallWith=ScriptState] Promise matchAll(ScalarValueString request, optional Di ctionary queryParams); 32 [CallWith=ScriptState] Promise matchAll(ScalarValueString request, optional Di ctionary queryParams);
33 33
34 // [CallWith=ScriptState] Promise add((Request or ScalarValueString) request); 34 // [CallWith=ScriptState] Promise add((Request or ScalarValueString) request);
35 [CallWith=ScriptState] Promise add(Request request); 35 [CallWith=ScriptState] Promise add(Request request);
36 [CallWith=ScriptState] Promise add(ScalarValueString request);
36 37
37 // FIXME: The lack of union type support together with the sequence mean we ca n't use overrides here, instead 38 // FIXME: The lack of union type support together with the sequence mean we ca n't use overrides here, instead
38 // bind a generic type. 39 // bind a generic type.
39 // [CallWith=ScriptState] Promise addAll(sequence<Request or ScalarValueString > requests); 40 // [CallWith=ScriptState] Promise addAll(sequence<Request or ScalarValueString > requests);
40 [CallWith=ScriptState] Promise addAll(sequence<any> requests); 41 [CallWith=ScriptState] Promise addAll(sequence<any> requests);
41 42
42 // [CallWith=ScriptState] Promise put((Request or ScalarValueString) request, Response response); 43 // [CallWith=ScriptState] Promise put((Request or ScalarValueString) request, Response response);
43 [CallWith=ScriptState] Promise put(Request request, Response response); 44 [CallWith=ScriptState] Promise put(Request request, Response response);
44 [CallWith=ScriptState] Promise put(ScalarValueString request, Response respons e); 45 [CallWith=ScriptState] Promise put(ScalarValueString request, Response respons e);
45 46
46 // [CallWith=ScriptState] Promise delete((Request or ScalarValueString) reques t, optional Dictionary queryParams); 47 // [CallWith=ScriptState] Promise delete((Request or ScalarValueString) reques t, optional Dictionary queryParams);
47 [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(Request re quest, optional Dictionary queryParams); 48 [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(Request re quest, optional Dictionary queryParams);
48 [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(ScalarValu eString request, optional Dictionary queryParams); 49 [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(ScalarValu eString request, optional Dictionary queryParams);
49 50
50 // [CallWith=ScriptState] Promise keys(optional (Request or ScalarValueString) request, optional Dictionary queryParams); 51 // [CallWith=ScriptState] Promise keys(optional (Request or ScalarValueString) request, optional Dictionary queryParams);
51 [CallWith=ScriptState] Promise keys(optional Request request, optional Diction ary queryParams); 52 [CallWith=ScriptState] Promise keys(optional Request request, optional Diction ary queryParams);
52 [CallWith=ScriptState] Promise keys(ScalarValueString request, optional Dictio nary queryParams); 53 [CallWith=ScriptState] Promise keys(ScalarValueString request, optional Dictio nary queryParams);
53 }; 54 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698