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

Unified Diff: chrome/browser/renderer_host/chrome_render_message_filter.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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/chrome_render_message_filter.h
diff --git a/chrome/browser/renderer_host/chrome_render_message_filter.h b/chrome/browser/renderer_host/chrome_render_message_filter.h
index 00e959bbbdd684e699ebf8524085c2b09fe61563..0c6d8571677312610e7a1c19082ce000d86d6cdc 100644
--- a/chrome/browser/renderer_host/chrome_render_message_filter.h
+++ b/chrome/browser/renderer_host/chrome_render_message_filter.h
@@ -125,6 +125,8 @@ class ChromeRenderMessageFilter : public content::BrowserMessageFilter {
// Called when a message is received from a renderer that a trial has been
// activated (ChromeViewHostMsg_FieldTrialActivated).
void OnFieldTrialActivated(const std::string& trial_name);
+ void OnRecordRappor(const std::string& metric, const std::string& sample);
+ void OnRecordRapporURL(const std::string& metric, const GURL& sample);
const int render_process_id_;
« no previous file with comments | « no previous file | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698