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

Issue 1307073002: DevTools: provide an option to return traces as streams (Closed)

Created:
5 years, 4 months ago by caseq
Modified:
5 years, 3 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, darin-cc_chromium.org, jam, yurys, pfeldman, devtools-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: provide an option to return traces as streams - introduce IO agent that exposes streams that may be read by the client; - introduce DevToolsIOContext to share streams between agents; - add returnAsStream option to Tracing.end See also: https://codereview.chromium.org/1307863003 Depends on: https://codereview.chromium.org/1308163002 BUG=456845 Committed: https://crrev.com/5bb042e95361426f054698f875a41357288045bb Cr-Commit-Position: refs/heads/master@{#345746}

Patch Set 1 #

Total comments: 8

Patch Set 2 : review comments addressed #

Total comments: 6

Patch Set 3 : review comments, round 2 #

Patch Set 4 : part 1 for landing (things that depend on new protocol.json removed) #

Patch Set 5 : work around MSVC compiler error due to missing Client definition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -17 lines) Patch
M content/browser/devtools/browser_devtools_agent_host.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/devtools/browser_devtools_agent_host.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/devtools/devtools_agent_host_impl.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/devtools/devtools_agent_host_impl.cc View 1 3 chunks +7 lines, -2 lines 0 comments Download
A content/browser/devtools/devtools_io_context.h View 1 1 chunk +63 lines, -0 lines 0 comments Download
A content/browser/devtools/devtools_io_context.cc View 1 1 chunk +145 lines, -0 lines 0 comments Download
A content/browser/devtools/protocol/io_handler.h View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
A content/browser/devtools/protocol/io_handler.cc View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download
M content/browser/devtools/protocol/tracing_handler.h View 1 2 3 5 chunks +15 lines, -2 lines 0 comments Download
M content/browser/devtools/protocol/tracing_handler.cc View 1 2 3 6 chunks +60 lines, -10 lines 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
caseq
5 years, 4 months ago (2015-08-22 00:13:50 UTC) #2
pfeldman
The code mostly looks good. Did you think of persisting it into a file using ...
5 years, 4 months ago (2015-08-24 18:17:56 UTC) #3
dgozman
https://codereview.chromium.org/1307073002/diff/1/content/browser/devtools/browser_protocol.json File content/browser/devtools/browser_protocol.json (right): https://codereview.chromium.org/1307073002/diff/1/content/browser/devtools/browser_protocol.json#newcode82 content/browser/devtools/browser_protocol.json:82: "domain": "IO", This domain does conceptually belong to renderer ...
5 years, 4 months ago (2015-08-24 20:45:44 UTC) #4
caseq
On 2015/08/24 18:17:56, pfeldman wrote: > The code mostly looks good. Did you think of ...
5 years, 4 months ago (2015-08-25 01:15:28 UTC) #5
caseq
On 2015/08/24 20:45:44, dgozman wrote: > https://codereview.chromium.org/1307073002/diff/1/content/browser/devtools/browser_protocol.json > File content/browser/devtools/browser_protocol.json (right): > > https://codereview.chromium.org/1307073002/diff/1/content/browser/devtools/browser_protocol.json#newcode82 > ...
5 years, 4 months ago (2015-08-25 01:18:01 UTC) #6
pfeldman
https://codereview.chromium.org/1307073002/diff/40001/content/browser/devtools/devtools_agent_host_impl.cc File content/browser/devtools/devtools_agent_host_impl.cc (right): https://codereview.chromium.org/1307073002/diff/40001/content/browser/devtools/devtools_agent_host_impl.cc#newcode128 content/browser/devtools/devtools_agent_host_impl.cc:128: io_context_.DiscardAllStreams(); You could kill your object here. https://codereview.chromium.org/1307073002/diff/40001/content/browser/devtools/protocol/io_handler.cc File ...
5 years, 4 months ago (2015-08-25 20:53:41 UTC) #8
caseq
On 2015/08/25 20:53:41, pfeldman wrote: > https://codereview.chromium.org/1307073002/diff/40001/content/browser/devtools/devtools_agent_host_impl.cc > File content/browser/devtools/devtools_agent_host_impl.cc (right): > > https://codereview.chromium.org/1307073002/diff/40001/content/browser/devtools/devtools_agent_host_impl.cc#newcode128 > ...
5 years, 4 months ago (2015-08-25 22:26:12 UTC) #9
pfeldman
lgtm
5 years, 3 months ago (2015-08-26 21:10:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1307073002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1307073002/80001
5 years, 3 months ago (2015-08-26 22:24:55 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/33323)
5 years, 3 months ago (2015-08-26 22:59:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1307073002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1307073002/100001
5 years, 3 months ago (2015-08-26 23:11:46 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 3 months ago (2015-08-27 00:38:23 UTC) #19
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 00:39:15 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5bb042e95361426f054698f875a41357288045bb
Cr-Commit-Position: refs/heads/master@{#345746}

Powered by Google App Engine
This is Rietveld 408576698