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

Unified Diff: base/debug/trace_event_impl.h

Issue 9447003: Revert 123140 - Use SequencedWorkerPool for disk operations in TraceSubscriberStdio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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 | « no previous file | base/debug/trace_event_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event_impl.h
===================================================================
--- base/debug/trace_event_impl.h (revision 123143)
+++ base/debug/trace_event_impl.h (working copy)
@@ -42,6 +42,8 @@
namespace base {
+class RefCountedString;
+
namespace debug {
const int kTraceMaxNumArgs = 2;
@@ -219,7 +221,8 @@
// silently dropped. The callback must be thread safe. The string format is
// undefined. Use TraceResultBuffer to convert one or more trace strings to
// JSON.
- typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&)>
+ typedef RefCountedData<std::string> RefCountedString;
+ typedef base::Callback<void(const scoped_refptr<RefCountedString>&)>
OutputCallback;
void SetOutputCallback(const OutputCallback& cb);
« no previous file with comments | « no previous file | base/debug/trace_event_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698