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

Unified Diff: chrome/test/base/tracing.cc

Issue 9443020: Use SequencedWorkerPool for disk operations in TraceSubscriberStdio. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/tracing_ui.cc ('k') | content/browser/trace_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/tracing.cc
diff --git a/chrome/test/base/tracing.cc b/chrome/test/base/tracing.cc
index 7d6542d5e49e28a103181a84676d765c0cb99b5d..d81e03f3d4bd36fe29c8315895fb6b7ffeebf8e0 100644
--- a/chrome/test/base/tracing.cc
+++ b/chrome/test/base/tracing.cc
@@ -52,9 +52,9 @@ class InProcessTraceController : public TraceSubscriber {
}
// TraceSubscriber
- virtual void OnTraceDataCollected(const std::string& trace_fragment)
- OVERRIDE {
- trace_buffer_.AddFragment(trace_fragment);
+ virtual void OnTraceDataCollected(
+ const scoped_refptr<base::RefCountedString>& trace_fragment) OVERRIDE {
+ trace_buffer_.AddFragment(trace_fragment->data());
}
// For collecting trace data asynchronously.
« no previous file with comments | « chrome/browser/ui/webui/tracing_ui.cc ('k') | content/browser/trace_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698