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

Issue 635733003: [DevTools] Migrate DevToolsTracingHandler to generated handler. (Closed)

Created:
6 years, 2 months ago by dgozman
Modified:
6 years, 2 months ago
Reviewers:
vkuzkokov, caseq
CC:
chromium-reviews, vsevik, jam, yurys, paulirish+reviews_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Migrate DevToolsTracingHandler to generated handler. This patch also adds SendRawMessage, which is used for performance in tracing handler. BUG=405566 Committed: https://crrev.com/1b3d5f311e8f4fd6ff4352fec7e0dee303f2a322 Cr-Commit-Position: refs/heads/master@{#300861}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 10

Patch Set 3 : Fixed review comments #

Total comments: 4

Patch Set 4 : rebased, fixed nits #

Patch Set 5 : fix bad merge #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -382 lines) Patch
M content/browser/devtools/devtools_http_handler_impl.cc View 1 2 3 4 5 5 chunks +22 lines, -12 lines 0 comments Download
M content/browser/devtools/devtools_protocol.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
D content/browser/devtools/devtools_tracing_handler.h View 1 2 3 4 5 1 chunk +0 lines, -72 lines 0 comments Download
D content/browser/devtools/devtools_tracing_handler.cc View 1 2 3 4 5 1 chunk +0 lines, -241 lines 0 comments Download
M content/browser/devtools/protocol/devtools_protocol_client.h View 1 2 3 chunks +8 lines, -9 lines 0 comments Download
M content/browser/devtools/protocol/devtools_protocol_client.cc View 1 2 2 chunks +10 lines, -6 lines 0 comments Download
M content/browser/devtools/protocol/devtools_protocol_handler_generator.py View 1 2 3 3 chunks +4 lines, -8 lines 0 comments Download
M content/browser/devtools/protocol/tracing_handler.h View 1 2 3 4 5 3 chunks +34 lines, -7 lines 0 comments Download
M content/browser/devtools/protocol/tracing_handler.cc View 1 2 3 4 5 2 chunks +175 lines, -11 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.h View 1 2 3 4 5 4 chunks +10 lines, -7 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.cc View 1 2 3 4 chunks +10 lines, -7 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (7 generated)
dgozman
Take a look please. This is mostly a code move.
6 years, 2 months ago (2014-10-07 12:09:33 UTC) #2
vkuzkokov
lgtm with nit. https://codereview.chromium.org/635733003/diff/20001/content/browser/devtools/protocol/tracing_handler.cc File content/browser/devtools/protocol/tracing_handler.cc (right): https://codereview.chromium.org/635733003/diff/20001/content/browser/devtools/protocol/tracing_handler.cc#newcode110 content/browser/devtools/protocol/tracing_handler.cc:110: return NULL; Consider using nullptr in ...
6 years, 2 months ago (2014-10-07 13:36:08 UTC) #3
dgozman
friendly ping
6 years, 2 months ago (2014-10-13 12:03:07 UTC) #4
caseq
https://codereview.chromium.org/635733003/diff/20001/content/browser/devtools/protocol/devtools_protocol_client.h File content/browser/devtools/protocol/devtools_protocol_client.h (right): https://codereview.chromium.org/635733003/diff/20001/content/browser/devtools/protocol/devtools_protocol_client.h#newcode66 content/browser/devtools/protocol/devtools_protocol_client.h:66: const RawMessageCallback& raw_message_callback); Let's have one callback instead of ...
6 years, 2 months ago (2014-10-13 13:01:27 UTC) #5
dgozman
PTAL https://codereview.chromium.org/635733003/diff/20001/content/browser/devtools/protocol/devtools_protocol_client.h File content/browser/devtools/protocol/devtools_protocol_client.h (right): https://codereview.chromium.org/635733003/diff/20001/content/browser/devtools/protocol/devtools_protocol_client.h#newcode66 content/browser/devtools/protocol/devtools_protocol_client.h:66: const RawMessageCallback& raw_message_callback); On 2014/10/13 13:01:27, caseq wrote: ...
6 years, 2 months ago (2014-10-14 12:42:22 UTC) #6
dgozman
ping
6 years, 2 months ago (2014-10-16 10:33:59 UTC) #7
caseq
lgtm with nits https://codereview.chromium.org/635733003/diff/70001/content/browser/devtools/protocol/tracing_handler.cc File content/browser/devtools/protocol/tracing_handler.cc (right): https://codereview.chromium.org/635733003/diff/70001/content/browser/devtools/protocol/tracing_handler.cc#newcode78 content/browser/devtools/protocol/tracing_handler.cc:78: message += "] } }", client_->SendRawMessage(message); ...
6 years, 2 months ago (2014-10-16 12:07:21 UTC) #8
dgozman
https://codereview.chromium.org/635733003/diff/70001/content/browser/devtools/protocol/tracing_handler.cc File content/browser/devtools/protocol/tracing_handler.cc (right): https://codereview.chromium.org/635733003/diff/70001/content/browser/devtools/protocol/tracing_handler.cc#newcode78 content/browser/devtools/protocol/tracing_handler.cc:78: message += "] } }", client_->SendRawMessage(message); On 2014/10/16 12:07:21, ...
6 years, 2 months ago (2014-10-17 13:53:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/635733003/110001
6 years, 2 months ago (2014-10-17 13:53:59 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/26654)
6 years, 2 months ago (2014-10-17 14:59:11 UTC) #13
vkuzkokov
On 2014/10/17 14:59:11, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 2 months ago (2014-10-20 15:05:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/635733003/130001
6 years, 2 months ago (2014-10-22 07:40:47 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/9952)
6 years, 2 months ago (2014-10-22 07:47:36 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/635733003/130001
6 years, 2 months ago (2014-10-22 12:52:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/635733003/130001
6 years, 2 months ago (2014-10-22 16:14:49 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:130001)
6 years, 2 months ago (2014-10-22 18:28:12 UTC) #22
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/f7762cb9261c8e2e15f2cf2b36f5408c75d72bdd Cr-Commit-Position: refs/heads/master@{#300711}
6 years, 2 months ago (2014-10-22 18:28:57 UTC) #23
Devlin
A revert of this CL (patchset #6 id:130001) has been created in https://codereview.chromium.org/675473005/ by rdevlin.cronin@chromium.org. ...
6 years, 2 months ago (2014-10-22 19:14:02 UTC) #24
Devlin
On 2014/10/22 19:14:02, Devlin wrote: > A revert of this CL (patchset #6 id:130001) has ...
6 years, 2 months ago (2014-10-22 19:46:09 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/635733003/130001
6 years, 2 months ago (2014-10-23 10:08:49 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:130001)
6 years, 2 months ago (2014-10-23 10:09:45 UTC) #28
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 10:11:59 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1b3d5f311e8f4fd6ff4352fec7e0dee303f2a322
Cr-Commit-Position: refs/heads/master@{#300861}

Powered by Google App Engine
This is Rietveld 408576698