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

Unified Diff: public/platform/Platform.h

Issue 1017433002: Add RAPPOR metric recording for Device{Orientation,Motion} in blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 | « Source/modules/device_orientation/DeviceOrientationController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index c30e8d260c924fd0f1bf3ef4b6b7e84bfa786c7f..ff1a1afdc806f6ec389931c13a8ddcae969ee4b8 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -606,6 +606,8 @@ public:
// longer notify the listener, if any.
virtual void stopListening(WebPlatformEventType type) { }
+ virtual void recordRapporMetric(WebPlatformEventType type, const WebURL& url) { }
Mike West 2015/03/23 17:27:30 Don't we already have "recordRappor"? Why do we ne
timvolodine 2015/03/23 17:33:30 I understood from holte@ that there is currently n
+
// This method converts from the supplied DOM code enum to the
// embedder's DOM code value for the key pressed. |domCode| values are
// based on the value defined in ui/events/keycodes/dom4/keycode_converter_data.h.
« no previous file with comments | « Source/modules/device_orientation/DeviceOrientationController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698