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

Unified Diff: content/app/android/library_loader_hooks.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 joechan's comments Created 6 years, 4 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 | « components/tracing/tracing_messages.h ('k') | content/app/content_main_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/android/library_loader_hooks.cc
diff --git a/content/app/android/library_loader_hooks.cc b/content/app/android/library_loader_hooks.cc
index f69933f1367d205ec4031b8937de5603d3cf6f5d..4778bfbadc81ab1eceb7c3eb2e73c15d8812d7e3 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -80,9 +80,10 @@ bool LibraryLoaded(JNIEnv* env, jclass clazz,
if (command_line->HasSwitch(switches::kTraceStartup)) {
base::debug::CategoryFilter category_filter(
command_line->GetSwitchValueASCII(switches::kTraceStartup));
- base::debug::TraceLog::GetInstance()->SetEnabled(category_filter,
+ base::debug::TraceLog::GetInstance()->SetEnabled(
+ category_filter,
base::debug::TraceLog::RECORDING_MODE,
- base::debug::TraceLog::RECORD_UNTIL_FULL);
+ base::debug::TraceOptions());
}
// Android's main browser loop is custom so we set the browser
« no previous file with comments | « components/tracing/tracing_messages.h ('k') | content/app/content_main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698