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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
index ca8fef4b69f0e78160cf0a32306d41e05ccb2138..4525c7ff77a2fe3e765340caa9566c8ca200c378 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -35,16 +35,16 @@
Global=(Worker,ServiceWorker),
] interface ServiceWorkerGlobalScope : WorkerGlobalScope {
- readonly attribute Clients clients;
- readonly attribute ServiceWorkerRegistration registration;
+ [Measure] readonly attribute Clients clients;
+ [Measure] readonly attribute ServiceWorkerRegistration registration;
- [CallWith=ScriptState, RaisesException] Promise<Response> fetch(RequestInfo input, optional Dictionary init);
+ [Measure, CallWith=ScriptState, RaisesException] Promise<Response> fetch(RequestInfo input, optional Dictionary init);
- [CallWith=ScriptState] Promise<void> skipWaiting();
+ [Measure, CallWith=ScriptState] Promise<void> skipWaiting();
- attribute EventHandler onactivate;
- attribute EventHandler onfetch;
- attribute EventHandler oninstall;
- attribute EventHandler onmessage;
- [OriginTrialEnabled=ForeignFetch] attribute EventHandler onforeignfetch;
+ [Measure] attribute EventHandler onactivate;
+ [Measure] attribute EventHandler onfetch;
+ [Measure] attribute EventHandler oninstall;
+ [Measure] attribute EventHandler onmessage;
+ [Measure, OriginTrialEnabled=ForeignFetch] attribute EventHandler onforeignfetch;
};

Powered by Google App Engine
This is Rietveld 408576698