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

Issue 2437633003: [DevTools] Switch remote locations to Target domain. (Closed)

Created:
4 years, 2 months ago by dgozman
Modified:
4 years, 2 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, jam, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, darin-cc_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Switch remote locations to Target domain. - Moves setRemoteLocations from Browser to Target. - Destroys agent host on remote connection closure, keeping devtools window alive. - Fixes manager delegates not adding themselves as observers. - Cleans up external agent hosts on detaches. BUG=648775 TBR=bauerb@chromium.org Committed: https://crrev.com/a134aa69d1184e0ff32a10768b646cf723660e41 Cr-Commit-Position: refs/heads/master@{#426391}

Patch Set 1 #

Patch Set 2 : wrong dcheck #

Total comments: 4

Patch Set 3 : removed dispose #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -261 lines) Patch
M chrome/browser/android/devtools_manager_delegate_android.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/devtools/chrome_devtools_manager_delegate.h View 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/devtools/chrome_devtools_manager_delegate.cc View 6 chunks +38 lines, -28 lines 0 comments Download
M chrome/browser/devtools/device/devtools_device_discovery.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/devtools/device/devtools_device_discovery.cc View 2 chunks +1 line, -33 lines 0 comments Download
M chrome/browser/devtools/devtools_network_controller.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/devtools/devtools_window.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_window.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M content/browser/devtools/protocol/browser_handler.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/devtools/protocol/browser_handler.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/devtools/protocol/target_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/devtools/protocol/target_handler.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/browser_protocol.json View 4 chunks +18 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js View 1 chunk +0 lines, -152 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/module.json View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js View 1 2 6 chunks +31 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
dgozman
Could you please take a look?
4 years, 2 months ago (2016-10-19 21:18:34 UTC) #4
pfeldman
lgtm https://codereview.chromium.org/2437633003/diff/20001/third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js File third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js (left): https://codereview.chromium.org/2437633003/diff/20001/third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js#oldcode33 third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js:33: target.connection().dispatch(message); Lets remove target.connection accessor. https://codereview.chromium.org/2437633003/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js File third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js ...
4 years, 2 months ago (2016-10-20 00:19:33 UTC) #9
dgozman
https://codereview.chromium.org/2437633003/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js File third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js (right): https://codereview.chromium.org/2437633003/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js#newcode182 third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js:182: connection._reportClosed(); On 2016/10/20 00:19:32, pfeldman wrote: > This also ...
4 years, 2 months ago (2016-10-20 01:10:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2437633003/40001
4 years, 2 months ago (2016-10-20 01:15:42 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/285673)
4 years, 2 months ago (2016-10-20 02:07:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2437633003/40001
4 years, 2 months ago (2016-10-20 03:22:50 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 03:39:49 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:15:06 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a134aa69d1184e0ff32a10768b646cf723660e41
Cr-Commit-Position: refs/heads/master@{#426391}

Powered by Google App Engine
This is Rietveld 408576698