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

Unified Diff: chromecast/common/chromecast_config.cc

Issue 454063004: Adds remote devtools support to cast_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/common/pref_names.h » ('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 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);
« no previous file with comments | « chromecast/chromecast.gyp ('k') | chromecast/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698