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

Issue 8355024: Internalize JSON chunk management to trace_event.h API. (Closed)

Created:
9 years, 2 months ago by jbates
Modified:
9 years, 2 months ago
Reviewers:
joth, nduca, jam
CC:
chromium-reviews, Vangelis Kokkevis, Paweł Hajdan Jr.
Visibility:
Public.

Description

Internalize JSON chunk merging to trace_event.h API. BUG=100291 TEST=base_unittests, content_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106808

Patch Set 1 #

Total comments: 16

Patch Set 2 : . #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -57 lines) Patch
M base/debug/trace_event.h View 1 2 chunks +47 lines, -1 line 1 comment Download
M base/debug/trace_event.cc View 1 3 chunks +43 lines, -2 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 1 10 chunks +40 lines, -14 lines 4 comments Download
M chrome/browser/ui/webui/tracing_ui.cc View 1 2 chunks +12 lines, -5 lines 0 comments Download
M content/browser/trace_controller.h View 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/trace_controller.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/trace_subscriber_stdio.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/trace_subscriber_stdio.cc View 1 4 chunks +15 lines, -21 lines 0 comments Download
M content/browser/trace_subscriber_stdio_unittest.cc View 2 chunks +1 line, -3 lines 0 comments Download
M content/common/child_trace_message_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/child_trace_message_filter.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jbates
nduca: please review. joth: please check the trace_subscriber_stdio bits. darin: please rubber stamp (sorry I ...
9 years, 2 months ago (2011-10-20 00:05:00 UTC) #1
nduca
http://codereview.chromium.org/8355024/diff/1/base/debug/trace_event.cc File base/debug/trace_event.cc (right): http://codereview.chromium.org/8355024/diff/1/base/debug/trace_event.cc#newcode279 base/debug/trace_event.cc:279: for (size_t i = 0; i < fragments_.size(); ++i) ...
9 years, 2 months ago (2011-10-20 00:28:03 UTC) #2
jbates
http://codereview.chromium.org/8355024/diff/1/base/debug/trace_event.cc File base/debug/trace_event.cc (right): http://codereview.chromium.org/8355024/diff/1/base/debug/trace_event.cc#newcode279 base/debug/trace_event.cc:279: for (size_t i = 0; i < fragments_.size(); ++i) ...
9 years, 2 months ago (2011-10-20 22:18:49 UTC) #3
nduca
LGTM if you're in a hurry. Lots of nits. In particular, can you new.crbug using ...
9 years, 2 months ago (2011-10-20 23:20:05 UTC) #4
jbates
darin, joth: PTAL http://codereview.chromium.org/8355024/diff/1/base/debug/trace_event.h File base/debug/trace_event.h (right): http://codereview.chromium.org/8355024/diff/1/base/debug/trace_event.h#newcode526 base/debug/trace_event.h:526: void AddFragment(const std::string& trace_fragment); On 2011/10/20 ...
9 years, 2 months ago (2011-10-20 23:55:12 UTC) #5
jbates
jam: please rubber stamp (removed darin because he is on vacation)
9 years, 2 months ago (2011-10-21 21:11:02 UTC) #6
jam
9 years, 2 months ago (2011-10-21 21:28:22 UTC) #7
jam
lgtm
9 years, 2 months ago (2011-10-21 21:28:23 UTC) #8
joth
9 years, 2 months ago (2011-10-24 08:09:29 UTC) #9
LGTM (stdio subscriber)

Nuts - I reviewed this on Friday morning but never hit send :-( but looks like
you've addressed all but one of my comments anyway.... :)
Thanks!

http://codereview.chromium.org/8355024/diff/6001/base/debug/trace_event.h
File base/debug/trace_event.h (right):

http://codereview.chromium.org/8355024/diff/6001/base/debug/trace_event.h#new...
base/debug/trace_event.h:520: class TraceResultBuffer {
BASE_EXPORT ?

Powered by Google App Engine
This is Rietveld 408576698