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

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: Changed to ETLD_PLUS_ONE 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 aff3f3b2eca2962bf75c77108ce82148df9ea1ec..9c00e4de40c02e958a540f79fcbef72306575978 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1514,6 +1514,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