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

Unified Diff: Source/modules/presentation/PresentationRequest.idl

Issue 1290693003: Presentation API: add UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 4 months 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: Source/modules/presentation/PresentationRequest.idl
diff --git a/Source/modules/presentation/PresentationRequest.idl b/Source/modules/presentation/PresentationRequest.idl
index ce65c73724b3baa8650a650422b66312154d69bf..9c4aec87f3b146e9e596d54558bef8dc32608779 100644
--- a/Source/modules/presentation/PresentationRequest.idl
+++ b/Source/modules/presentation/PresentationRequest.idl
@@ -11,10 +11,11 @@
RaisesException=Constructor,
GarbageCollected,
RuntimeEnabled=Presentation,
+ MeasureAs=PresentationRequestConstructor
] interface PresentationRequest : EventTarget {
- [CallWith=ScriptState] Promise<PresentationSession> start();
- [CallWith=ScriptState] Promise<PresentationSession> join(DOMString id);
- [CallWith=ScriptState] Promise<PresentationAvailability> getAvailability();
+ [CallWith=ScriptState, MeasureAs=PresentationRequestStart] Promise<PresentationSession> start();
+ [CallWith=ScriptState, MeasureAs=PresentationRequestJoin] Promise<PresentationSession> join(DOMString id);
+ [CallWith=ScriptState, MeasureAs=PresentationRequestGetAvailability] Promise<PresentationAvailability> getAvailability();
attribute EventHandler onsessionconnect;
};
« no previous file with comments | « Source/modules/presentation/PresentationRequest.cpp ('k') | Source/modules/presentation/PresentationSession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698