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

Unified Diff: base/test/trace_event_analyzer_unittest.cc

Issue 425593002: Refactor trace_event_impl's SetEnabled to use TraceOptions. Propagate this through the whole stack. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Nat's comments. Created 6 years, 5 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_event_analyzer_unittest.cc
diff --git a/base/test/trace_event_analyzer_unittest.cc b/base/test/trace_event_analyzer_unittest.cc
index 48a803bd4eebad85640748351e2f8e0100a205ad..9238c3eec0cefb2a68e467781a34ff9bc483374e 100644
--- a/base/test/trace_event_analyzer_unittest.cc
+++ b/base/test/trace_event_analyzer_unittest.cc
@@ -48,7 +48,7 @@ void TraceEventAnalyzerTest::BeginTracing() {
base::debug::TraceLog::GetInstance()->SetEnabled(
base::debug::CategoryFilter("*"),
base::debug::TraceLog::RECORDING_MODE,
- base::debug::TraceLog::RECORD_UNTIL_FULL);
+ base::debug::TraceOptions(base::debug::RECORD_UNTIL_FULL));
dsinclair 2014/07/30 14:25:25 RECORD_UNTIL_FULL is default, no need to pass.
nednguyen 2014/07/30 16:51:14 Done.
}
void TraceEventAnalyzerTest::EndTracing() {

Powered by Google App Engine
This is Rietveld 408576698