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

Unified Diff: base/test/trace_event_analyzer_unittest.cc

Issue 9333003: Use FILE thread for disk operations in TraceSubscriberStdio (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Use SequencedWorkerPool for disk operations in TraceSubscriberStdio. 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 | « base/debug/trace_event_unittest.cc ('k') | chrome/browser/automation/automation_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/trace_event_analyzer_unittest.cc
===================================================================
--- base/test/trace_event_analyzer_unittest.cc (revision 123084)
+++ base/test/trace_event_analyzer_unittest.cc (working copy)
@@ -15,8 +15,7 @@
public:
void ManualSetUp();
void OnTraceDataCollected(
- const scoped_refptr<base::debug::TraceLog::RefCountedString>&
- json_events_str);
+ const scoped_refptr<base::RefCountedString>& json_events_str);
void BeginTracing();
void EndTracing();
@@ -36,9 +35,8 @@
}
void TraceEventAnalyzerTest::OnTraceDataCollected(
- const scoped_refptr<base::debug::TraceLog::RefCountedString>&
- json_events_str) {
- buffer_.AddFragment(json_events_str->data);
+ const scoped_refptr<base::RefCountedString>& json_events_str) {
+ buffer_.AddFragment(json_events_str->data());
}
void TraceEventAnalyzerTest::BeginTracing() {
« no previous file with comments | « base/debug/trace_event_unittest.cc ('k') | chrome/browser/automation/automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698