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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/Clients.idl

Issue 2526943002: Add use counters for lots of DOM APIs.
Patch Set: Add use counters for lots of DOM APIs. 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/serviceworkers/Clients.idl
diff --git a/third_party/WebKit/Source/modules/serviceworkers/Clients.idl b/third_party/WebKit/Source/modules/serviceworkers/Clients.idl
index ec789010f4b399793ada108902700f95106cc397..77fc7bc2e523ed2667cd79e0973ffa13d9a477ac 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/Clients.idl
+++ b/third_party/WebKit/Source/modules/serviceworkers/Clients.idl
@@ -7,8 +7,8 @@
Exposed=ServiceWorker,
ImplementedAs=ServiceWorkerClients,
] interface Clients {
- [CallWith=ScriptState] Promise<any> get(DOMString id);
- [CallWith=ScriptState] Promise<sequence<Client>> matchAll(optional ClientQueryOptions options);
- [CallWith=ScriptState] Promise<WindowClient?> openWindow(USVString url);
- [CallWith=ScriptState] Promise<void> claim();
+[Measure, CallWith=ScriptState] Promise<any> get(DOMString id);
+ [Measure, CallWith=ScriptState] Promise<sequence<Client>> matchAll(optional ClientQueryOptions options);
+ [Measure, CallWith=ScriptState] Promise<WindowClient?> openWindow(USVString url);
+ [Measure, CallWith=ScriptState] Promise<void> claim();
};

Powered by Google App Engine
This is Rietveld 408576698