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

Issue 2152603002: Tracing: do not pass entire trace content in TraceDataEndpoint::ReceiveTraceFinalContents (Closed)

Created:
4 years, 5 months ago by caseq
Modified:
4 years, 5 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, darin-cc_chromium.org, jam, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tracing: do not pass entire trace content in TraceDataEndpoint::ReceiveTraceFinalContents - do not collect the entire trace in intermediate classes of trace data pipeline; - only pass trace data in chunks, don't pass complete trace in ReceiveTraceFinalContents; - rename StringTraceDataSink to JSONTraceDataSink as it is now mostly concerned with packaging trace pieces into JSON, and producing a string is handled by an endpoint. Committed: https://crrev.com/647dfe6fe658b5fc62a99854dc1e0d9308604f09 Cr-Commit-Position: refs/heads/master@{#405668}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -49 lines) Patch
M content/browser/tracing/tracing_controller_browsertest.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl_data_sinks.cc View 1 9 chunks +37 lines, -41 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
caseq
Hey Oysteine, thanks a lot for reviewing the first batch! Here's a bit more :-)
4 years, 5 months ago (2016-07-13 23:59:35 UTC) #3
oystein (OOO til 10th of July)
lgtm w/nits, great! https://codereview.chromium.org/2152603002/diff/20001/content/browser/tracing/tracing_controller_impl_data_sinks.cc File content/browser/tracing/tracing_controller_impl_data_sinks.cc (right): https://codereview.chromium.org/2152603002/diff/20001/content/browser/tracing/tracing_controller_impl_data_sinks.cc#newcode34 content/browser/tracing/tracing_controller_impl_data_sinks.cc:34: trace_.str(""); nit: Should technically also do ...
4 years, 5 months ago (2016-07-14 22:04:33 UTC) #4
caseq
On 2016/07/14 22:04:33, oystein wrote: > lgtm w/nits, great! > > https://codereview.chromium.org/2152603002/diff/20001/content/browser/tracing/tracing_controller_impl_data_sinks.cc > File content/browser/tracing/tracing_controller_impl_data_sinks.cc ...
4 years, 5 months ago (2016-07-15 00:45:30 UTC) #6
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/2152603002/60001
4 years, 5 months ago (2016-07-15 00:46:57 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 5 months ago (2016-07-15 01:32:52 UTC) #10
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 01:34:55 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/647dfe6fe658b5fc62a99854dc1e0d9308604f09
Cr-Commit-Position: refs/heads/master@{#405668}

Powered by Google App Engine
This is Rietveld 408576698