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

Issue 1224743002: DevTools: allow to pass list of remote debugging targets as command line argument (Closed)

Created:
5 years, 5 months ago by yurys
Modified:
5 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, jam, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: allow to pass list of remote debugging targets as command line argument This CL introduces --remote-debugging-targets flag that allows to pass list of <ip address>:<port> pairs which will be polled by chrome:inspect page to discover devtools targets that can be inspected remotely with Chrome DevTools. As discussed before, serial parameter is reused for the remote target IP address. BUG=435243 Committed: https://crrev.com/4e413a1094ee04c1c56241fb020ecde8963c1bea Cr-Commit-Position: refs/heads/master@{#337578}

Patch Set 1 #

Patch Set 2 : Fixed port forwarding test #

Total comments: 24

Patch Set 3 : Added host resolution #

Patch Set 4 : Renamed SelfAsDeviceProvider to TCPDeviceProvider #

Total comments: 4

Patch Set 5 : Removed {} #

Patch Set 6 : Rebase #

Patch Set 7 : Moved flag definition to chrome_switches #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -144 lines) Patch
M chrome/browser/devtools/BUILD.gn View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/devtools/device/devtools_android_bridge.cc View 1 2 3 4 4 chunks +37 lines, -8 lines 0 comments Download
M chrome/browser/devtools/device/port_forwarding_browsertest.cc View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/devtools/device/self_device_provider.h View 1 2 3 1 chunk +0 lines, -35 lines 0 comments Download
M chrome/browser/devtools/device/self_device_provider.cc View 1 2 3 1 chunk +0 lines, -85 lines 0 comments Download
A + chrome/browser/devtools/device/tcp_device_provider.h View 1 2 3 2 chunks +13 lines, -7 lines 0 comments Download
A chrome/browser/devtools/device/tcp_device_provider.cc View 1 2 3 1 chunk +133 lines, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_sanity_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_debugger.gypi View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (12 generated)
yurys
5 years, 5 months ago (2015-07-06 08:56:26 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224743002/20001
5 years, 5 months ago (2015-07-06 09:30:44 UTC) #4
dgozman
https://codereview.chromium.org/1224743002/diff/20001/chrome/browser/devtools/device/devtools_android_bridge.cc File chrome/browser/devtools/device/devtools_android_bridge.cc (right): https://codereview.chromium.org/1224743002/diff/20001/chrome/browser/devtools/device/devtools_android_bridge.cc#newcode917 chrome/browser/devtools/device/devtools_android_bridge.cc:917: if (command_line->HasSwitch(switches::kRemoteDebuggingTargets)) { Could you please extract a method? ...
5 years, 5 months ago (2015-07-06 10:08:34 UTC) #5
pfeldman
lgtm https://codereview.chromium.org/1224743002/diff/20001/chrome/browser/devtools/device/devtools_android_bridge.cc File chrome/browser/devtools/device/devtools_android_bridge.cc (right): https://codereview.chromium.org/1224743002/diff/20001/chrome/browser/devtools/device/devtools_android_bridge.cc#newcode939 chrome/browser/devtools/device/devtools_android_bridge.cc:939: if (!targets.empty()) { s/{}// https://codereview.chromium.org/1224743002/diff/20001/chrome/browser/devtools/device/self_device_provider.cc File chrome/browser/devtools/device/self_device_provider.cc (right): ...
5 years, 5 months ago (2015-07-06 10:10:05 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-06 11:25:29 UTC) #8
yurys
Added host->ip resolution. PTAL https://codereview.chromium.org/1224743002/diff/20001/chrome/browser/devtools/device/devtools_android_bridge.cc File chrome/browser/devtools/device/devtools_android_bridge.cc (right): https://codereview.chromium.org/1224743002/diff/20001/chrome/browser/devtools/device/devtools_android_bridge.cc#newcode939 chrome/browser/devtools/device/devtools_android_bridge.cc:939: if (!targets.empty()) { On 2015/07/06 ...
5 years, 5 months ago (2015-07-06 12:49:01 UTC) #9
yurys
PTAL https://codereview.chromium.org/1224743002/diff/20001/chrome/browser/devtools/device/devtools_android_bridge.cc File chrome/browser/devtools/device/devtools_android_bridge.cc (right): https://codereview.chromium.org/1224743002/diff/20001/chrome/browser/devtools/device/devtools_android_bridge.cc#newcode917 chrome/browser/devtools/device/devtools_android_bridge.cc:917: if (command_line->HasSwitch(switches::kRemoteDebuggingTargets)) { On 2015/07/06 10:08:33, dgozman wrote: ...
5 years, 5 months ago (2015-07-06 13:57:07 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224743002/60001
5 years, 5 months ago (2015-07-06 13:57:37 UTC) #13
dgozman
lgtm https://codereview.chromium.org/1224743002/diff/60001/chrome/browser/devtools/device/devtools_android_bridge.cc File chrome/browser/devtools/device/devtools_android_bridge.cc (right): https://codereview.chromium.org/1224743002/diff/60001/chrome/browser/devtools/device/devtools_android_bridge.cc#newcode946 chrome/browser/devtools/device/devtools_android_bridge.cc:946: if (scoped_refptr<TCPDeviceProvider> provider = CreateTCPDeviceProvider()) { nit: no ...
5 years, 5 months ago (2015-07-06 14:10:56 UTC) #14
yurys
https://codereview.chromium.org/1224743002/diff/60001/chrome/browser/devtools/device/devtools_android_bridge.cc File chrome/browser/devtools/device/devtools_android_bridge.cc (right): https://codereview.chromium.org/1224743002/diff/60001/chrome/browser/devtools/device/devtools_android_bridge.cc#newcode946 chrome/browser/devtools/device/devtools_android_bridge.cc:946: if (scoped_refptr<TCPDeviceProvider> provider = CreateTCPDeviceProvider()) { On 2015/07/06 14:10:55, ...
5 years, 5 months ago (2015-07-06 14:14:52 UTC) #15
yurys
5 years, 5 months ago (2015-07-06 14:14:53 UTC) #16
yurys
@jochen: please review changes in content/public/common/content_switches.*
5 years, 5 months ago (2015-07-06 14:15:47 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-06 15:52:28 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224743002/80001
5 years, 5 months ago (2015-07-07 06:12:21 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/54673) (exceeded global ...
5 years, 5 months ago (2015-07-07 06:27:54 UTC) #25
jochen (gone - plz use gerrit)
that should be a chrome switch, no?
5 years, 5 months ago (2015-07-07 09:16:06 UTC) #26
yurys
On 2015/07/07 09:16:06, jochen wrote: > that should be a chrome switch, no? You are ...
5 years, 5 months ago (2015-07-07 09:24:35 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224743002/120001
5 years, 5 months ago (2015-07-07 09:24:52 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 5 months ago (2015-07-07 10:15:05 UTC) #31
commit-bot: I haz the power
5 years, 5 months ago (2015-07-07 10:15:50 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4e413a1094ee04c1c56241fb020ecde8963c1bea
Cr-Commit-Position: refs/heads/master@{#337578}

Powered by Google App Engine
This is Rietveld 408576698