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

Issue 2548263002: [DevTools] Migrate dom, emulation, inspector, network, page and schema handlers to new generator. (Closed)

Created:
4 years ago by dgozman
Modified:
4 years ago
Reviewers:
caseq
CC:
chromium-reviews, jam, darin-cc_chromium.org, pfeldman, devtools-reviews_chromium.org, kinuko+watch, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Migrate dom, emulation, inspector, network, page and schema handlers to new generator. This also includes DevToolsSession::Dispatch utility method which offers message to DevToolsManagerDelegate. BUG=664683 TBR=pfeldman Committed: https://crrev.com/b4f43e447c1bb2d8e255395aa13a0eaf88a516ad Cr-Commit-Position: refs/heads/master@{#438078}

Patch Set 1 #

Patch Set 2 : works #

Total comments: 5

Patch Set 3 : fixes #

Patch Set 4 : emulation #

Patch Set 5 : page, dom #

Patch Set 6 : rebase, test fix #

Total comments: 4

Patch Set 7 : rebased atop of roll #

Unified diffs Side-by-side diffs Delta from patch set Stats (+647 lines, -809 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M content/browser/devtools/BUILD.gn View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M content/browser/devtools/browser_devtools_agent_host.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/devtools/devtools_session.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/devtools/devtools_session.cc View 1 2 3 2 chunks +28 lines, -0 lines 0 comments Download
M content/browser/devtools/page_navigation_throttle.h View 1 2 3 4 3 chunks +4 lines, -6 lines 0 comments Download
M content/browser/devtools/page_navigation_throttle.cc View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M content/browser/devtools/protocol/color_picker.h View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/devtools/protocol/color_picker.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/devtools/protocol/devtools_protocol_handler_generator.py View 1 2 3 4 1 chunk +3 lines, -19 lines 0 comments Download
M content/browser/devtools/protocol/dom_handler.h View 1 2 3 4 1 chunk +10 lines, -11 lines 0 comments Download
M content/browser/devtools/protocol/dom_handler.cc View 1 2 3 4 2 chunks +16 lines, -11 lines 0 comments Download
M content/browser/devtools/protocol/emulation_handler.h View 1 2 3 4 3 chunks +24 lines, -40 lines 0 comments Download
M content/browser/devtools/protocol/emulation_handler.cc View 1 2 3 12 chunks +52 lines, -93 lines 0 comments Download
M content/browser/devtools/protocol/inspector_handler.h View 1 1 chunk +9 lines, -13 lines 0 comments Download
M content/browser/devtools/protocol/inspector_handler.cc View 1 4 chunks +8 lines, -11 lines 0 comments Download
M content/browser/devtools/protocol/network_handler.h View 1 2 3 4 5 1 chunk +26 lines, -41 lines 0 comments Download
M content/browser/devtools/protocol/network_handler.cc View 1 2 3 4 5 9 chunks +139 lines, -224 lines 0 comments Download
M content/browser/devtools/protocol/page_handler.h View 1 2 3 4 5 chunks +42 lines, -77 lines 0 comments Download
M content/browser/devtools/protocol/page_handler.cc View 1 2 3 4 16 chunks +85 lines, -157 lines 0 comments Download
M content/browser/devtools/protocol/schema_handler.h View 1 1 chunk +11 lines, -10 lines 0 comments Download
M content/browser/devtools/protocol/schema_handler.cc View 1 3 chunks +16 lines, -10 lines 0 comments Download
M content/browser/devtools/protocol_config.json View 1 2 3 4 2 chunks +31 lines, -0 lines 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.h View 1 2 3 4 4 chunks +12 lines, -12 lines 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.cc View 1 2 3 4 5 6 9 chunks +57 lines, -28 lines 0 comments Download
M content/browser/devtools/service_worker_devtools_agent_host.h View 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/devtools/service_worker_devtools_agent_host.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M content/browser/devtools/worker_devtools_agent_host.h View 1 3 chunks +8 lines, -7 lines 0 comments Download
M content/browser/devtools/worker_devtools_agent_host.cc View 1 2 3 4 5 5 chunks +21 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/geolocation-emulation-tests-expected.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/screen-orientation-override-expected.txt View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 41 (29 generated)
dgozman
Take a look please.
4 years ago (2016-12-06 01:37:23 UTC) #4
caseq
lgtm https://codereview.chromium.org/2548263002/diff/20001/content/browser/devtools/browser_devtools_agent_host.cc File content/browser/devtools/browser_devtools_agent_host.cc (right): https://codereview.chromium.org/2548263002/diff/20001/content/browser/devtools/browser_devtools_agent_host.cc#newcode61 content/browser/devtools/browser_devtools_agent_host.cc:61: io_handler_->Disable(); Here and below, let's get this done ...
4 years ago (2016-12-06 18:42:13 UTC) #8
dgozman
https://codereview.chromium.org/2548263002/diff/20001/content/browser/devtools/render_frame_devtools_agent_host.cc File content/browser/devtools/render_frame_devtools_agent_host.cc (right): https://codereview.chromium.org/2548263002/diff/20001/content/browser/devtools/render_frame_devtools_agent_host.cc#newcode381 content/browser/devtools/render_frame_devtools_agent_host.cc:381: return !!agent_host && agent_host->network_handler_ && On 2016/12/06 18:42:13, caseq ...
4 years ago (2016-12-07 00:22:13 UTC) #9
dgozman
Please take a look at tests, generator and new domains.
4 years ago (2016-12-08 01:26:29 UTC) #15
caseq
lgtm https://codereview.chromium.org/2548263002/diff/100001/third_party/inspector_protocol/lib/DispatcherBase_cpp.template File third_party/inspector_protocol/lib/DispatcherBase_cpp.template (right): https://codereview.chromium.org/2548263002/diff/100001/third_party/inspector_protocol/lib/DispatcherBase_cpp.template#newcode253 third_party/inspector_protocol/lib/DispatcherBase_cpp.template:253: for (const auto& pair : redirects) nit: do ...
4 years ago (2016-12-09 01:57:50 UTC) #24
dgozman
Thank you for review! https://codereview.chromium.org/2548263002/diff/100001/third_party/inspector_protocol/lib/DispatcherBase_cpp.template File third_party/inspector_protocol/lib/DispatcherBase_cpp.template (right): https://codereview.chromium.org/2548263002/diff/100001/third_party/inspector_protocol/lib/DispatcherBase_cpp.template#newcode253 third_party/inspector_protocol/lib/DispatcherBase_cpp.template:253: for (const auto& pair : ...
4 years ago (2016-12-12 23:01:25 UTC) #27
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/2548263002/120001
4 years ago (2016-12-13 04:10:17 UTC) #30
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/324454)
4 years ago (2016-12-13 04:18:18 UTC) #32
dgozman
TBR'ing pfeldman for BUILD.gn
4 years ago (2016-12-13 04:57:00 UTC) #34
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/2548263002/120001
4 years ago (2016-12-13 04:57:37 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-13 06:14:03 UTC) #39
commit-bot: I haz the power
4 years ago (2016-12-13 06:17:35 UTC) #41
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b4f43e447c1bb2d8e255395aa13a0eaf88a516ad
Cr-Commit-Position: refs/heads/master@{#438078}

Powered by Google App Engine
This is Rietveld 408576698