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

Unified Diff: content/common/gpu/client/gl_helper_unittest.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/child/child_thread_impl.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/gl_helper_unittest.cc
diff --git a/content/common/gpu/client/gl_helper_unittest.cc b/content/common/gpu/client/gl_helper_unittest.cc
index 85a300c5dd19ecad005901f6dc696803c7e143e1..c28cc54cf635fb6dda5a926153ce17c904174ce3 100644
--- a/content/common/gpu/client/gl_helper_unittest.cc
+++ b/content/common/gpu/client/gl_helper_unittest.cc
@@ -76,11 +76,11 @@ class GLHelperTest : public testing::Test {
}
void StartTracing(const std::string& filter) {
- base::debug::TraceLog::GetInstance()->SetEnabled(
- base::debug::CategoryFilter(filter),
- base::debug::TraceLog::RECORDING_MODE,
- base::debug::TraceOptions(
- base::debug::RECORD_UNTIL_FULL));
+ base::trace_event::TraceLog::GetInstance()->SetEnabled(
+ base::trace_event::CategoryFilter(filter),
+ base::trace_event::TraceLog::RECORDING_MODE,
+ base::trace_event::TraceOptions(
+ base::trace_event::RECORD_UNTIL_FULL));
}
static void TraceDataCB(
@@ -101,9 +101,9 @@ class GLHelperTest : public testing::Test {
// of event name->counts.
void EndTracing(std::map<std::string, int>* event_counts) {
std::string json_data = "[";
- base::debug::TraceLog::GetInstance()->SetDisabled();
+ base::trace_event::TraceLog::GetInstance()->SetDisabled();
base::RunLoop run_loop;
- base::debug::TraceLog::GetInstance()->Flush(
+ base::trace_event::TraceLog::GetInstance()->Flush(
base::Bind(&GLHelperTest::TraceDataCB,
run_loop.QuitClosure(),
base::Unretained(&json_data)));
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698