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

Unified Diff: components/ui_devtools/devtools_server.cc

Issue 2928973003: Added --enable-ui-devtools to chrome://flags. (Closed)
Patch Set: Updated url in description. Created 3 years, 6 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 | « chrome/browser/flag_descriptions.cc ('k') | components/ui_devtools/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/devtools_server.cc
diff --git a/components/ui_devtools/devtools_server.cc b/components/ui_devtools/devtools_server.cc
index 2bab50aafc44f81daa69c383f5e5f3580f8ef057..fd0e35b93d5ac3acfd828899242d6d7db89bc33a 100644
--- a/components/ui_devtools/devtools_server.cc
+++ b/components/ui_devtools/devtools_server.cc
@@ -34,6 +34,7 @@ bool IsUiDevToolsEnabled() {
int GetUiDevToolsPort() {
DCHECK(IsUiDevToolsEnabled());
+ // This value is duplicated in the chrome://flags description.
constexpr int kDefaultPort = 9223;
int port;
if (!base::StringToInt(
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | components/ui_devtools/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698