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

Unified Diff: chrome/common/render_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: Use SampleString in rappor_utils Created 5 years, 8 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: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index f75359e63013f0e83b4e52efc3489fa2a1042a40..48e9e3518d597200cb7b0fc83b80f8989800d858 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -679,3 +679,13 @@ IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_AppBannerPromptReply,
// Sent by the renderer to indicate that a fields trial has been activated.
IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated,
std::string /* name */)
+
+// Record a sample string to a Rappor metric.
+IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor,
+ std::string /* metric */,
+ std::string /* sample */)
+
+// Record a domain and registry of a url to a Rappor metric.
+IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL,
+ std::string /* metric */,
+ GURL /* sample url */)
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | chrome/renderer/chrome_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698