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

Unified Diff: chromecast/browser/cast_browser_process.cc

Issue 652353003: Chromecast: adds class to help record complex histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resets initial buffering state on flush Created 6 years, 2 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 | « chromecast/browser/cast_browser_process.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_browser_process.cc
diff --git a/chromecast/browser/cast_browser_process.cc b/chromecast/browser/cast_browser_process.cc
index 03377d46a479ab02feef13140d9ef7446286c7ef..5638dd11fa3f66bca9ee77a2c1a0300f87744b6d 100644
--- a/chromecast/browser/cast_browser_process.cc
+++ b/chromecast/browser/cast_browser_process.cc
@@ -5,6 +5,7 @@
#include "chromecast/browser/cast_browser_process.h"
#include "base/logging.h"
+#include "chromecast/base/metrics/cast_metrics_helper.h"
#include "chromecast/browser/cast_browser_context.h"
#include "chromecast/browser/devtools/remote_debugging_server.h"
#include "chromecast/browser/metrics/cast_metrics_service_client.h"
@@ -54,6 +55,12 @@ void CastBrowserProcess::SetRemoteDebuggingServer(
remote_debugging_server_.reset(remote_debugging_server);
}
+void CastBrowserProcess::SetMetricsHelper(
+ metrics::CastMetricsHelper* metrics_helper) {
+ DCHECK(!metrics_helper_);
+ metrics_helper_.reset(metrics_helper);
+}
+
void CastBrowserProcess::SetMetricsServiceClient(
metrics::CastMetricsServiceClient* metrics_service_client) {
DCHECK(!metrics_service_client_);
« no previous file with comments | « chromecast/browser/cast_browser_process.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698