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

Issue 7044010: TraceSubscriber implementation that writes to a file. (Closed)

Created:
9 years, 7 months ago by lain Merrick
Modified:
9 years, 6 months ago
CC:
chromium-reviews, jam
Visibility:
Public.

Description

TraceSubscriber implementation that writes to a file. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87459

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 2

Patch Set 10 : '' #

Patch Set 11 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -0 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/trace_subscriber_stdio.h View 1 1 chunk +33 lines, -0 lines 1 comment Download
A content/browser/trace_subscriber_stdio.cc View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A content/browser/trace_subscriber_stdio_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +42 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
lain Merrick
Simple stdio-based TraceSubscriber implementation. Still needs to be hooked up to a command-line flag and/or ...
9 years, 7 months ago (2011-05-18 17:23:41 UTC) #1
nduca
LGTM. Thanks Iain! On 2011/05/18 17:23:41, Iain Merrick wrote: > Simple stdio-based TraceSubscriber implementation. Still ...
9 years, 7 months ago (2011-05-18 17:37:07 UTC) #2
jbates
LGTM
9 years, 7 months ago (2011-05-18 18:37:56 UTC) #3
Paweł Hajdan Jr.
Drive-by with minor testing comments (chrome/test/OWNERS). Please let me take another look before committing. It's ...
9 years, 7 months ago (2011-05-18 20:00:46 UTC) #4
lain Merrick
http://codereview.chromium.org/7044010/diff/5001/content/browser/trace_subscriber_stdio_unittest.cc File content/browser/trace_subscriber_stdio_unittest.cc (right): http://codereview.chromium.org/7044010/diff/5001/content/browser/trace_subscriber_stdio_unittest.cc#newcode17 content/browser/trace_subscriber_stdio_unittest.cc:17: ASSERT_TRUE(file_util::CreateNewTempDirectory(kFolderPrefix, &trace_dir_)); On 2011/05/18 20:00:46, Paweł Hajdan Jr. wrote: ...
9 years, 7 months ago (2011-05-19 15:49:00 UTC) #5
sadrul
Nice! LGTM. (You will need LGTM from one of the OWNERs for content/, though)
9 years, 7 months ago (2011-05-19 15:50:48 UTC) #6
Paweł Hajdan Jr.
Yeah, I think FileAutoDeleter should die in favor of ScopedTempDir. I'd be happy to review ...
9 years, 7 months ago (2011-05-19 16:26:49 UTC) #7
lain Merrick
http://codereview.chromium.org/7044010/diff/7001/content/browser/trace_subscriber_stdio_unittest.cc File content/browser/trace_subscriber_stdio_unittest.cc (right): http://codereview.chromium.org/7044010/diff/7001/content/browser/trace_subscriber_stdio_unittest.cc#newcode5 content/browser/trace_subscriber_stdio_unittest.cc:5: #include "content/browser/trace_subscriber_stdio.h" On 2011/05/19 16:26:49, Paweł Hajdan Jr. wrote: ...
9 years, 7 months ago (2011-05-19 16:38:02 UTC) #8
Paweł Hajdan Jr.
Code I commented in the drive-by LGTM, thanks! It's also a bit simpler now, isn't ...
9 years, 7 months ago (2011-05-19 16:45:58 UTC) #9
lain Merrick
http://codereview.chromium.org/7044010/diff/9004/content/browser/trace_subscriber_stdio_unittest.cc File content/browser/trace_subscriber_stdio_unittest.cc (right): http://codereview.chromium.org/7044010/diff/9004/content/browser/trace_subscriber_stdio_unittest.cc#newcode7 content/browser/trace_subscriber_stdio_unittest.cc:7: #include "base/memory/scoped_ptr.h" On 2011/05/19 16:45:58, Paweł Hajdan Jr. wrote: ...
9 years, 7 months ago (2011-05-19 16:51:01 UTC) #10
lain Merrick
On 2011/05/19 16:45:58, Paweł Hajdan Jr. wrote: > Code I commented in the drive-by LGTM, ...
9 years, 7 months ago (2011-05-20 13:42:13 UTC) #11
Paweł Hajdan Jr.
On 2011/05/20 13:42:13, Iain Merrick wrote: > Yes, thanks for your help! You're welcome! > ...
9 years, 7 months ago (2011-05-20 13:52:09 UTC) #12
lain Merrick
Adding Ben for content/OWNERS review. Ben, do you have time to take a quick look ...
9 years, 7 months ago (2011-05-24 15:12:42 UTC) #13
lain Merrick
On 2011/05/24 15:12:42, Iain Merrick wrote: > Adding Ben for content/OWNERS review. Hi Ben, Just ...
9 years, 7 months ago (2011-05-27 14:14:57 UTC) #14
lain Merrick
Adding Darin for content/OWNERS review.
9 years, 6 months ago (2011-05-30 08:58:04 UTC) #15
lain Merrick
+jam for content/OWNERS this time. And I just spoke to him on IM so he ...
9 years, 6 months ago (2011-05-31 17:47:05 UTC) #16
jam
rubberstamp lgtm http://codereview.chromium.org/7044010/diff/28001/content/browser/trace_subscriber_stdio_unittest.cc File content/browser/trace_subscriber_stdio_unittest.cc (right): http://codereview.chromium.org/7044010/diff/28001/content/browser/trace_subscriber_stdio_unittest.cc#newcode41 content/browser/trace_subscriber_stdio_unittest.cc:41: } // namespace nit: usually tests aren't ...
9 years, 6 months ago (2011-05-31 17:49:25 UTC) #17
lain Merrick
http://codereview.chromium.org/7044010/diff/28001/content/browser/trace_subscriber_stdio_unittest.cc File content/browser/trace_subscriber_stdio_unittest.cc (right): http://codereview.chromium.org/7044010/diff/28001/content/browser/trace_subscriber_stdio_unittest.cc#newcode41 content/browser/trace_subscriber_stdio_unittest.cc:41: } // namespace On 2011/05/31 17:49:26, John Abd-El-Malek wrote: ...
9 years, 6 months ago (2011-05-31 18:03:07 UTC) #18
jam
http://codereview.chromium.org/7044010/diff/39001/content/browser/trace_subscriber_stdio.h File content/browser/trace_subscriber_stdio.h (right): http://codereview.chromium.org/7044010/diff/39001/content/browser/trace_subscriber_stdio.h#newcode30 content/browser/trace_subscriber_stdio.h:30: FILE* m_file; hi, i just saw this in another ...
9 years, 6 months ago (2011-06-22 02:40:49 UTC) #19
lain Merrick
9 years, 6 months ago (2011-06-22 10:04:51 UTC) #20
On 2011/06/22 02:40:49, John Abd-El-Malek wrote:
>
http://codereview.chromium.org/7044010/diff/39001/content/browser/trace_subsc...
> File content/browser/trace_subscriber_stdio.h (right):
> 
>
http://codereview.chromium.org/7044010/diff/39001/content/browser/trace_subsc...
> content/browser/trace_subscriber_stdio.h:30: FILE* m_file;
> hi, i just saw this in another change.  we don't use hungarian notation.  this
> should be file_

Whoops, sorry about that. I got mixed up between the Chromium and WebKit
conventions.

Fix uploaded as http://codereview.chromium.org/7207005

Powered by Google App Engine
This is Rietveld 408576698