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

Unified Diff: chromecast/common/chromecast_config.cc

Issue 482813004: Adds CastMetricsServiceClient to Chromecast shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address asvitkine's comments Created 6 years, 4 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/chromecast.gyp ('k') | chromecast/metrics/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/chromecast_config.cc
diff --git a/chromecast/common/chromecast_config.cc b/chromecast/common/chromecast_config.cc
index dfb3866966654178562835c191f015a28b78aad3..0e4261d55dbc489321533d05b2f7b2c9d2ca5056 100644
--- a/chromecast/common/chromecast_config.cc
+++ b/chromecast/common/chromecast_config.cc
@@ -17,6 +17,7 @@
#include "base/strings/string_number_conversions.h"
#include "chromecast/common/cast_paths.h"
#include "chromecast/common/pref_names.h"
+#include "chromecast/metrics/cast_metrics_prefs.h"
namespace chromecast {
@@ -74,6 +75,7 @@ bool ChromecastConfig::Load(PrefRegistrySimple* registry) {
VLOG(1) << "Loading config from " << config_path_.value();
registry->RegisterIntegerPref(prefs::kRemoteDebuggingPort, 0);
+ metrics::RegisterPrefs(registry);
RegisterPlatformPrefs(registry);
PersistentPrefStore::PrefReadError prefs_read_error =
« no previous file with comments | « chromecast/chromecast.gyp ('k') | chromecast/metrics/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698