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

Unified Diff: chromecast/common/chromecast_config.cc

Issue 467043002: Adds locale strings to Chromecast build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chromecast/common/chromecast_config.cc
diff --git a/chromecast/common/chromecast_config.cc b/chromecast/common/chromecast_config.cc
index f016a683fcd522a5e4a9e68842eeb23dc587d7c2..dfb3866966654178562835c191f015a28b78aad3 100644
--- a/chromecast/common/chromecast_config.cc
+++ b/chromecast/common/chromecast_config.cc
@@ -16,6 +16,7 @@
#include "base/prefs/pref_store.h"
#include "base/strings/string_number_conversions.h"
#include "chromecast/common/cast_paths.h"
+#include "chromecast/common/pref_names.h"
namespace chromecast {
@@ -71,6 +72,7 @@ ChromecastConfig::~ChromecastConfig() {
bool ChromecastConfig::Load(PrefRegistrySimple* registry) {
DCHECK(thread_checker_.CalledOnValidThread());
VLOG(1) << "Loading config from " << config_path_.value();
+ registry->RegisterIntegerPref(prefs::kRemoteDebuggingPort, 0);
RegisterPlatformPrefs(registry);

Powered by Google App Engine
This is Rietveld 408576698