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

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

Issue 892213004: Mechanical rename of base::debug -> base::trace_event for /content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part3_1
Patch Set: Rebase. Created 5 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
« no previous file with comments | « no previous file | 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 5f0c4e5196cf88fa7e8e3c9e23b9e973b48c9cfe..00638135ea0cedf7209c0ad4ff850ea9633d9826 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -83,19 +83,19 @@ bool LibraryLoaded(JNIEnv* env, jclass clazz) {
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(switches::kTraceStartup)) {
- base::debug::CategoryFilter category_filter(
+ base::trace_event::CategoryFilter category_filter(
command_line->GetSwitchValueASCII(switches::kTraceStartup));
- base::debug::TraceLog::GetInstance()->SetEnabled(
+ base::trace_event::TraceLog::GetInstance()->SetEnabled(
category_filter,
- base::debug::TraceLog::RECORDING_MODE,
- base::debug::TraceOptions());
+ base::trace_event::TraceLog::RECORDING_MODE,
+ base::trace_event::TraceOptions());
}
// Android's main browser loop is custom so we set the browser
// name here as early as possible.
TRACE_EVENT_BEGIN_ETW("BrowserMain", 0, "");
- base::debug::TraceLog::GetInstance()->SetProcessName("Browser");
- base::debug::TraceLog::GetInstance()->SetProcessSortIndex(
+ base::trace_event::TraceLog::GetInstance()->SetProcessName("Browser");
+ base::trace_event::TraceLog::GetInstance()->SetProcessSortIndex(
kTraceEventBrowserProcessSortIndex);
// Can only use event tracing after setting up the command line.
« no previous file with comments | « no previous file | content/app/content_main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698