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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.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/ServiceWorkerRegistration.idl
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.idl b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.idl
index d25a82c53289e5b46ce77b286ccbbd78b196345e..0c577533d700b040ef856386ec63503160f789bc 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.idl
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.idl
@@ -8,15 +8,15 @@
DependentLifetime,
Exposed=(Window,Worker),
] interface ServiceWorkerRegistration : EventTarget {
- readonly attribute ServiceWorker? installing;
- readonly attribute ServiceWorker? waiting;
- readonly attribute ServiceWorker? active;
+ [Measure] readonly attribute ServiceWorker? installing;
+ [Measure] readonly attribute ServiceWorker? waiting;
+ [Measure] readonly attribute ServiceWorker? active;
[RuntimeEnabled=ServiceWorkerNavigationPreload] readonly attribute NavigationPreloadManager navigationPreload;
- readonly attribute USVString scope;
+ [Measure] readonly attribute USVString scope;
- [CallWith=ScriptState] Promise<void> update();
- [CallWith=ScriptState] Promise<boolean> unregister();
+ [Measure, CallWith=ScriptState] Promise<void> update();
+ [Measure, CallWith=ScriptState] Promise<boolean> unregister();
- attribute EventHandler onupdatefound;
+ [Measure] attribute EventHandler onupdatefound;
};

Powered by Google App Engine
This is Rietveld 408576698