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

Unified Diff: base/test/trace_to_file.cc

Issue 1165673002: [Startup Tracing] Hook up TraceConfig and remove CategoryFilter & TraceOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: base/test/trace_to_file.cc
diff --git a/base/test/trace_to_file.cc b/base/test/trace_to_file.cc
index 4e2a33284898e9d3059f1514a77cbd8bd979326c..e00b58ae03eb522b4a31afc2f287032f13c957e6 100644
--- a/base/test/trace_to_file.cc
+++ b/base/test/trace_to_file.cc
@@ -52,9 +52,8 @@ void TraceToFile::BeginTracing(const FilePath& path,
WriteFileHeader();
trace_event::TraceLog::GetInstance()->SetEnabled(
- trace_event::CategoryFilter(categories),
- trace_event::TraceLog::RECORDING_MODE,
- trace_event::TraceOptions(trace_event::RECORD_UNTIL_FULL));
+ trace_event::TraceConfig(categories, trace_event::RECORD_UNTIL_FULL),
+ trace_event::TraceLog::RECORDING_MODE);
}
void TraceToFile::WriteFileHeader() {

Powered by Google App Engine
This is Rietveld 408576698