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

Issue 1163953002: html_viewer: Add DevToolsAgentImpl. (Closed)

Created:
5 years, 6 months ago by yzshen1
Modified:
5 years, 6 months ago
Reviewers:
msw, dgozman, sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, yurys, devtools-reviews_chromium.org, darin (slow to review), ben+mojo_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

html_viewer: Add DevToolsAgentImpl. DevToolsAgentImpl connects the DevTools mojo service with the DevTools agent support in blink. BUG=478249 Committed: https://crrev.com/32166090d27c6450957f59eedaa6ea5fa12762e4 Cr-Commit-Position: refs/heads/master@{#333516} Committed: https://crrev.com/9675e4abe4bd0da5005841081ca9547cdbd24c53 Cr-Commit-Position: refs/heads/master@{#333834}

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Don't create DevToolsAgentImpl instance unless --remote-debugging-port is specified #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -12 lines) Patch
A + components/devtools_service/public/cpp/BUILD.gn View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
A components/devtools_service/public/cpp/switches.h View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
A components/devtools_service/public/cpp/switches.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M components/html_viewer/BUILD.gn View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M components/html_viewer/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A components/html_viewer/devtools_agent_impl.h View 1 1 chunk +56 lines, -0 lines 0 comments Download
A components/html_viewer/devtools_agent_impl.cc View 1 2 3 4 1 chunk +107 lines, -0 lines 0 comments Download
M components/html_viewer/html_document.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M components/html_viewer/html_document.cc View 1 2 3 4 5 4 chunks +23 lines, -2 lines 0 comments Download
M mandoline/app/android/BUILD.gn View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/runner/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M mojo/runner/context.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/runner/switches.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M mojo/runner/switches.cc View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
yzshen1
Hi, Scott. Would you please take a look? Thanks!
5 years, 6 months ago (2015-06-02 22:13:46 UTC) #2
sky
You'll need to copy update "copy_mandoline_assets" in mandoline/app/android/BUILD.gn to list devtools_service as well. https://codereview.chromium.org/1163953002/diff/1/components/html_viewer/devtools_agent_impl.cc File ...
5 years, 6 months ago (2015-06-02 23:28:32 UTC) #3
dgozman
https://codereview.chromium.org/1163953002/diff/1/components/html_viewer/devtools_agent_impl.cc File components/html_viewer/devtools_agent_impl.cc (right): https://codereview.chromium.org/1163953002/diff/1/components/html_viewer/devtools_agent_impl.cc#newcode73 components/html_viewer/devtools_agent_impl.cc:73: make_scoped_ptr(static_cast<base::DictionaryValue*>(value.release())); There is |Value::GetAsDictionary| for this purpose. With it, ...
5 years, 6 months ago (2015-06-03 09:55:55 UTC) #5
yzshen1
Thank you Scott and Dmitry! Please take another look. https://codereview.chromium.org/1163953002/diff/1/components/html_viewer/devtools_agent_impl.cc File components/html_viewer/devtools_agent_impl.cc (right): https://codereview.chromium.org/1163953002/diff/1/components/html_viewer/devtools_agent_impl.cc#newcode61 components/html_viewer/devtools_agent_impl.cc:61: ...
5 years, 6 months ago (2015-06-05 17:29:30 UTC) #6
sky
LGTM https://codereview.chromium.org/1163953002/diff/1/components/html_viewer/devtools_agent_impl.cc File components/html_viewer/devtools_agent_impl.cc (right): https://codereview.chromium.org/1163953002/diff/1/components/html_viewer/devtools_agent_impl.cc#newcode61 components/html_viewer/devtools_agent_impl.cc:61: // TODO(yzshen): (1) Eventually the handling code for ...
5 years, 6 months ago (2015-06-05 19:13:30 UTC) #7
dgozman
lgtm with comments https://codereview.chromium.org/1163953002/diff/20001/components/html_viewer/devtools_agent_impl.cc File components/html_viewer/devtools_agent_impl.cc (right): https://codereview.chromium.org/1163953002/diff/20001/components/html_viewer/devtools_agent_impl.cc#newcode74 components/html_viewer/devtools_agent_impl.cc:74: command->GetString("method", &method); if (!command->GetString(...)) return; https://codereview.chromium.org/1163953002/diff/20001/components/html_viewer/devtools_agent_impl.cc#newcode82 ...
5 years, 6 months ago (2015-06-09 05:24:00 UTC) #8
yzshen1
Thank you Dmitry! https://codereview.chromium.org/1163953002/diff/20001/components/html_viewer/devtools_agent_impl.cc File components/html_viewer/devtools_agent_impl.cc (right): https://codereview.chromium.org/1163953002/diff/20001/components/html_viewer/devtools_agent_impl.cc#newcode74 components/html_viewer/devtools_agent_impl.cc:74: command->GetString("method", &method); On 2015/06/09 05:23:59, dgozman ...
5 years, 6 months ago (2015-06-09 15:47:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163953002/40001
5 years, 6 months ago (2015-06-09 15:52:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/61039) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 6 months ago (2015-06-09 15:58:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163953002/80001
5 years, 6 months ago (2015-06-09 16:44:12 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 6 months ago (2015-06-09 17:35:09 UTC) #18
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/32166090d27c6450957f59eedaa6ea5fa12762e4 Cr-Commit-Position: refs/heads/master@{#333516}
5 years, 6 months ago (2015-06-09 17:35:59 UTC) #19
yzshen1
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1172123002/ by yzshen@chromium.org. ...
5 years, 6 months ago (2015-06-09 20:55:14 UTC) #20
yzshen1
Hi, Mike. Would you please review the diff between patchset 6 and patchset 5? Although ...
5 years, 6 months ago (2015-06-10 22:05:39 UTC) #22
msw
lgtm, thanks!
5 years, 6 months ago (2015-06-10 22:22:47 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163953002/100001
5 years, 6 months ago (2015-06-10 23:00:06 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 6 months ago (2015-06-10 23:11:10 UTC) #27
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 23:12:10 UTC) #28
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9675e4abe4bd0da5005841081ca9547cdbd24c53
Cr-Commit-Position: refs/heads/master@{#333834}

Powered by Google App Engine
This is Rietveld 408576698