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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.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/ServiceWorkerContainer.idl
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.idl b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.idl
index 36f21a7d3a235cd6e25c37eb1af839bc06cf41f1..bf05e0004617fa6b14bc0d29b4ec02a0951af293 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.idl
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.idl
@@ -30,13 +30,13 @@
// https://w3c.github.io/ServiceWorker/#service-worker-container-interface
interface ServiceWorkerContainer : EventTarget {
- readonly attribute ServiceWorker? controller;
- [CallWith=ScriptState] readonly attribute Promise<ServiceWorkerRegistration> ready;
+ [Measure] readonly attribute ServiceWorker? controller;
+ [Measure, CallWith=ScriptState] readonly attribute Promise<ServiceWorkerRegistration> ready;
- [CallWith=ScriptState, ImplementedAs=registerServiceWorker] Promise<ServiceWorkerRegistration> register(USVString url, optional RegistrationOptions options);
- [CallWith=ScriptState] Promise<ServiceWorkerRegistration> getRegistration(optional USVString documentURL = "");
- [CallWith=ScriptState] Promise<sequence<ServiceWorkerRegistration>> getRegistrations();
+ [Measure, CallWith=ScriptState, ImplementedAs=registerServiceWorker] Promise<ServiceWorkerRegistration> register(USVString url, optional RegistrationOptions options);
+ [Measure, CallWith=ScriptState] Promise<ServiceWorkerRegistration> getRegistration(optional USVString documentURL = "");
+ [Measure, CallWith=ScriptState] Promise<sequence<ServiceWorkerRegistration>> getRegistrations();
- attribute EventHandler oncontrollerchange;
- attribute EventHandler onmessage;
+ [Measure] attribute EventHandler oncontrollerchange;
+ [Measure] attribute EventHandler onmessage;
};

Powered by Google App Engine
This is Rietveld 408576698