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

Unified Diff: content/app/content_main_runner.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: 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: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index f8f9a42e61baeff7088de40bdb76796fbd78aafc..5a90b4ca78d24a1ccece544c06eddd10c45cf6b8 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -632,7 +632,7 @@ class ContentMainRunnerImpl : public ContentMainRunner {
base::debug::TraceLog::GetInstance()->SetEnabled(
category_filter,
base::debug::TraceLog::RECORDING_MODE,
- base::debug::TraceLog::RECORD_UNTIL_FULL);
+ base::debug::TraceOptions("record-until-full"));
dsinclair 2014/07/28 18:52:36 This should be using the constant.
nednguyen 2014/07/28 20:27:22 Done.
}
#if !defined(OS_ANDROID)
// Android tracing started at the beginning of the method.

Powered by Google App Engine
This is Rietveld 408576698