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

Issue 793663007: Set RemoteDebuggingServer port based on "remote-debugging-port" flag. (Closed)

Created:
5 years, 11 months ago by derekjchow1
Modified:
4 years, 2 months ago
Reviewers:
LeavMeB, byungchul, gunsch
CC:
chromium-reviews, lcwu+watch_chromium.org, yurys, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, gunsch+watch_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set RemoteDebuggingServer port based on "remote-debugging-port" flag. RemoteDebuggingServer now has a fixed port based on command line flag. Enabling and disabling remote debugging is now controlled by the enable_remote_debugging preference. R=gunsch@chromium.org BUG=internal b/18790937 Committed: https://crrev.com/ebc9cdbdef3e4542ae2b26bddc134b8e28ad6215 Cr-Commit-Position: refs/heads/master@{#334626}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Consistent logging and unsigned to int #

Patch Set 3 : Set default port when flag input is bad #

Patch Set 4 : Long overdue rebase #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : Address Byungchul's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -40 lines) Patch
M chromecast/browser/android/cast_window_manager.cc View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M chromecast/browser/devtools/remote_debugging_server.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chromecast/browser/devtools/remote_debugging_server.cc View 1 2 3 4 5 6 3 chunks +29 lines, -27 lines 0 comments Download
M chromecast/browser/pref_service_helper.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chromecast/common/pref_names.h View 1 chunk +1 line, -1 line 0 comments Download
M chromecast/common/pref_names.cc View 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
derekjchow1
5 years, 11 months ago (2015-01-08 02:51:42 UTC) #1
gunsch
Please loop Byungchul in on future remote-debugging changes. Byungchul: I think we removed the possibility ...
5 years, 11 months ago (2015-01-08 03:46:52 UTC) #3
byungchul
Yes, we always use 9222 ignoring port number from DCS. https://codereview.chromium.org/793663007/diff/1/chromecast/browser/devtools/remote_debugging_server.cc File chromecast/browser/devtools/remote_debugging_server.cc (right): https://codereview.chromium.org/793663007/diff/1/chromecast/browser/devtools/remote_debugging_server.cc#newcode108 ...
5 years, 11 months ago (2015-01-08 06:28:56 UTC) #4
derekjchow1
https://codereview.chromium.org/793663007/diff/1/chromecast/browser/devtools/remote_debugging_server.cc File chromecast/browser/devtools/remote_debugging_server.cc (right): https://codereview.chromium.org/793663007/diff/1/chromecast/browser/devtools/remote_debugging_server.cc#newcode108 chromecast/browser/devtools/remote_debugging_server.cc:108: unsigned port; On 2015/01/08 06:28:56, byungchul wrote: > Init ...
5 years, 11 months ago (2015-01-08 17:55:43 UTC) #5
byungchul
https://codereview.chromium.org/793663007/diff/1/chromecast/browser/devtools/remote_debugging_server.cc File chromecast/browser/devtools/remote_debugging_server.cc (right): https://codereview.chromium.org/793663007/diff/1/chromecast/browser/devtools/remote_debugging_server.cc#newcode109 chromecast/browser/devtools/remote_debugging_server.cc:109: base::StringToUint(port_str, &port); On 2015/01/08 17:55:42, derekjchow1 wrote: > On ...
5 years, 11 months ago (2015-01-08 18:51:22 UTC) #6
derekjchow1
https://codereview.chromium.org/793663007/diff/1/chromecast/browser/devtools/remote_debugging_server.cc File chromecast/browser/devtools/remote_debugging_server.cc (right): https://codereview.chromium.org/793663007/diff/1/chromecast/browser/devtools/remote_debugging_server.cc#newcode109 chromecast/browser/devtools/remote_debugging_server.cc:109: base::StringToUint(port_str, &port); On 2015/01/08 18:51:21, byungchul wrote: > On ...
5 years, 11 months ago (2015-01-12 23:15:56 UTC) #7
derekjchow1
Ping on this issue. Does this look good to you Byungchul?
5 years, 6 months ago (2015-06-16 16:44:50 UTC) #8
byungchul
https://codereview.chromium.org/793663007/diff/100001/chromecast/browser/devtools/remote_debugging_server.cc File chromecast/browser/devtools/remote_debugging_server.cc (right): https://codereview.chromium.org/793663007/diff/100001/chromecast/browser/devtools/remote_debugging_server.cc#newcode159 chromecast/browser/devtools/remote_debugging_server.cc:159: } else if (devtools_http_handler_) { it includes the condition ...
5 years, 6 months ago (2015-06-16 16:57:25 UTC) #9
derekjchow1
https://codereview.chromium.org/793663007/diff/100001/chromecast/browser/devtools/remote_debugging_server.cc File chromecast/browser/devtools/remote_debugging_server.cc (right): https://codereview.chromium.org/793663007/diff/100001/chromecast/browser/devtools/remote_debugging_server.cc#newcode159 chromecast/browser/devtools/remote_debugging_server.cc:159: } else if (devtools_http_handler_) { On 2015/06/16 16:57:24, byungchul ...
5 years, 6 months ago (2015-06-16 17:02:49 UTC) #10
byungchul
lgtm
5 years, 6 months ago (2015-06-16 17:15:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/793663007/120001
5 years, 6 months ago (2015-06-16 17:17:39 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 6 months ago (2015-06-16 17:26:21 UTC) #15
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/ebc9cdbdef3e4542ae2b26bddc134b8e28ad6215 Cr-Commit-Position: refs/heads/master@{#334626}
5 years, 6 months ago (2015-06-16 17:27:29 UTC) #16
LeavMeB
BooleanPrefMember enabled
4 years, 2 months ago (2016-10-21 15:26:00 UTC) #18
LeavMeB
SetBoolean kEnableRemoteDebugging
4 years, 2 months ago (2016-10-21 15:35:19 UTC) #19
LeavMeB
4 years, 2 months ago (2016-10-21 15:35:19 UTC) #20
Message was sent while issue was closed.
SetBoolean kEnableRemoteDebugging

Powered by Google App Engine
This is Rietveld 408576698