|
Use SequencedWorkerPool for disk operations in TraceSubscriberStdio.
This class was hitting a ThreadRestrictions assert because it called
OpenFile on the UI thread. To reduce unnecessary copying, I've changed
the OnTraceDataCollected argument from std::string to RefCountedString.
BUG=None
TEST=content_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123140
Total comments: 4
Total comments: 17
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+137 lines, -122 lines) |
Patch |
 |
M |
base/debug/trace_event_impl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
base/debug/trace_event_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
base/debug/trace_event_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
base/test/trace_event_analyzer_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_provider.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_provider.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/tracing_ui.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/tracing.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/trace_controller.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/trace_controller.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/trace_message_filter.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/trace_subscriber_stdio.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+10 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/trace_subscriber_stdio.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+74 lines, -40 lines |
0 comments
|
Download
|
 |
M |
content/browser/trace_subscriber_stdio_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+21 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/common/child_trace_message_filter.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/child_trace_message_filter.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 30 (0 generated)
|