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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/Clients.idl

Issue 2572003003: NOT FOR SUBMIT: use counters for jdm@
Patch Set: Merge branch 'jdm-usecounters' into jdm-merge Created 4 years 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
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 // https://w3c.github.io/ServiceWorker/#clients-interface 5 // https://w3c.github.io/ServiceWorker/#clients-interface
6 [ 6 [
7 Exposed=ServiceWorker, 7 Exposed=ServiceWorker,
8 ImplementedAs=ServiceWorkerClients, 8 ImplementedAs=ServiceWorkerClients,
9 ] interface Clients { 9 ] interface Clients {
10 [CallWith=ScriptState] Promise<any> get(DOMString id); 10 [Measure, CallWith=ScriptState] Promise<any> get(DOMString id);
11 [CallWith=ScriptState] Promise<sequence<Client>> matchAll(optional ClientQue ryOptions options); 11 [Measure, CallWith=ScriptState] Promise<sequence<Client>> matchAll(optional Cl ientQueryOptions options);
12 [CallWith=ScriptState] Promise<WindowClient?> openWindow(USVString url); 12 [Measure, CallWith=ScriptState] Promise<WindowClient?> openWindow(USVString ur l);
13 [CallWith=ScriptState] Promise<void> claim(); 13 [Measure, CallWith=ScriptState] Promise<void> claim();
14 }; 14 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698