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

Unified Diff: third_party/WebKit/Source/modules/nfc/NFC.idl

Issue 2657093004: [webnfc] Add an UMA histogram values for WebNFC API calls (Closed)
Patch Set: Rebased to master. Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/nfc/NFC.idl
diff --git a/third_party/WebKit/Source/modules/nfc/NFC.idl b/third_party/WebKit/Source/modules/nfc/NFC.idl
index f095f64981241bc945485e6685fad0951c569233..93261753511ceb180451e4886c77072cca8412af 100644
--- a/third_party/WebKit/Source/modules/nfc/NFC.idl
+++ b/third_party/WebKit/Source/modules/nfc/NFC.idl
@@ -9,8 +9,8 @@ typedef (DOMString or ArrayBuffer or NFCMessage) NFCPushMessage;
[
RuntimeEnabled=WebNFC,
] interface NFC {
- [CallWith=ScriptState] Promise<void> push (NFCPushMessage message, optional NFCPushOptions options);
- [CallWith=ScriptState] Promise<void> cancelPush (optional NFCPushTarget target = "any");
- [CallWith=ScriptState] Promise<long> watch (MessageCallback callback, optional NFCWatchOptions options);
- [CallWith=ScriptState] Promise<void> cancelWatch (optional long id);
+ [CallWith=ScriptState, MeasureAs=WebNFCPush] Promise<void> push (NFCPushMessage message, optional NFCPushOptions options);
+ [CallWith=ScriptState, MeasureAs=WebNFCCancelPush] Promise<void> cancelPush (optional NFCPushTarget target = "any");
+ [CallWith=ScriptState, MeasureAs=WebNFCWatch] Promise<long> watch (MessageCallback callback, optional NFCWatchOptions options);
+ [CallWith=ScriptState, MeasureAs=WebNFCCancelWatch] Promise<void> cancelWatch (optional long id);
};
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698