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

Issue 2441933002: [DevTools] Refactor connection-related classes. (Closed)

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

Description

[DevTools] Refactor connection-related classes. Extracted small connection interface, it's params and factory. Supported connect/disconnect for all main connection types. Renamed previous Connection to TargetPrototype, which will be merged to Target soon. BUG=648775 Committed: https://crrev.com/6274a2d207fc8383d1182204b2a900d80c3d3f0e Cr-Commit-Position: refs/heads/master@{#427521}

Patch Set 1 #

Patch Set 2 : test fixes #

Total comments: 6

Patch Set 3 : new stuff #

Patch Set 4 : rebase over semicolons #

Patch Set 5 : tests.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -356 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/profiler/agents-disabled-check.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Tests.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/Linkifier.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 3 4 chunks +56 lines, -52 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/Connections.js View 1 2 3 4 chunks +93 lines, -126 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js View 1 2 3 10 chunks +64 lines, -63 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js View 1 2 3 6 chunks +14 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js View 1 2 3 6 chunks +33 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/Target.js View 1 2 3 5 chunks +12 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js View 1 2 3 2 chunks +10 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/WorkerManager.js View 1 2 3 5 chunks +31 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (17 generated)
dgozman
Could you please take a look?
4 years, 2 months ago (2016-10-21 16:51:12 UTC) #6
pfeldman
https://codereview.chromium.org/2441933002/diff/20001/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js File third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js (right): https://codereview.chromium.org/2441933002/diff/20001/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js#newcode22 third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js:22: this._channel.addEventListener(InspectorBackendClass.Channel.Events.MessageReceived, this._dispatchProtocolMessage, this); design: You don't want to expose ...
4 years, 2 months ago (2016-10-21 21:04:34 UTC) #7
dgozman
PTAL
4 years, 1 month ago (2016-10-25 00:21:46 UTC) #11
pfeldman
lgtm
4 years, 1 month ago (2016-10-25 19:22:46 UTC) #14
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/2441933002/60001
4 years, 1 month ago (2016-10-25 19:44:21 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/322025)
4 years, 1 month ago (2016-10-25 20:43:30 UTC) #19
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/2441933002/80001
4 years, 1 month ago (2016-10-25 21:26:39 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-25 23:01:19 UTC) #24
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 23:03:21 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6274a2d207fc8383d1182204b2a900d80c3d3f0e
Cr-Commit-Position: refs/heads/master@{#427521}

Powered by Google App Engine
This is Rietveld 408576698