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

Unified Diff: content/app/content_main_runner.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 | « content/app/android/library_loader_hooks.cc ('k') | content/browser/android/tracing_controller_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 378a5097c32daa484b732525aab59647050f1460..a57f04add098db2e5b97b438f158b0d6adeb4bf7 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -656,13 +656,13 @@ class ContentMainRunnerImpl : public ContentMainRunner {
// Enable startup tracing asap to avoid early TRACE_EVENT calls being
// ignored.
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::debug::RECORD_UNTIL_FULL));
+ base::trace_event::TraceLog::RECORDING_MODE,
+ base::trace_event::TraceOptions(
+ base::trace_event::RECORD_UNTIL_FULL));
}
#if !defined(OS_ANDROID)
// Android tracing started at the beginning of the method.
« no previous file with comments | « content/app/android/library_loader_hooks.cc ('k') | content/browser/android/tracing_controller_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698