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

Unified Diff: content/app/android/library_loader_hooks.cc

Issue 12302036: Add a mode flag to the tracing framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Spelling fix in content/public/browser. Created 7 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
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 1a2fbd053f9bc7f4bfbc4b0b4fc159a6b9263ce9..630baeb7e2cdfc2a0578c65eb5edc11e850b2ba2 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -42,7 +42,8 @@ static jint LibraryLoadedOnMainThread(JNIEnv* env, jclass clazz,
if (command_line->HasSwitch(switches::kTraceStartup)) {
base::debug::TraceLog::GetInstance()->SetEnabled(
- command_line->GetSwitchValueASCII(switches::kTraceStartup));
+ command_line->GetSwitchValueASCII(switches::kTraceStartup),
+ base::debug::TraceLog::RECORD_UNTIL_FULL);
}
// Can only use event tracing after setting up the command line.

Powered by Google App Engine
This is Rietveld 408576698