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

Unified Diff: content/common/view_messages.h

Issue 1014543003: Add an IPC method for Blink to call RapporService::RecordSample() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index db273e76bb705e9b5bc7a19613c43f60713cef19..f43d99c491ae4f1fe212b259fb43af39eab2f83c 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1498,6 +1498,11 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler,
IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
std::string /* action */)
+// Send back a string to be recorded by UserMetrics.
+IPC_MESSAGE_CONTROL2(ViewHostMsg_UserMetricsRecordRappor,
+ std::string /* metric */,
+ std::string /* sample */)
+
// Notifies the browser that the page was or was not saved as MHTML.
IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML,
int /* job_id */,

Powered by Google App Engine
This is Rietveld 408576698