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

Unified Diff: cc/test/cc_test_suite.cc

Issue 18174006: Allow tracing to console everywhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: cc/test/cc_test_suite.cc
diff --git a/cc/test/cc_test_suite.cc b/cc/test/cc_test_suite.cc
index d4d15d3e42d423f87e21bc3251987ebadc4be959..2758c4216424fcb6597e0daa11faf568eeb0e10a 100644
--- a/cc/test/cc_test_suite.cc
+++ b/cc/test/cc_test_suite.cc
@@ -7,7 +7,6 @@
#include <string>
#include "base/command_line.h"
-#include "base/debug/trace_event_impl.h"
#include "base/message_loop.h"
#include "base/threading/thread_id_name_manager.h"
#include "cc/base/switches.h"
@@ -24,20 +23,6 @@ void CCTestSuite::Initialize() {
base::TestSuite::Initialize();
RegisterPathProvider();
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kCCUnittestsTraceEventsToVLOG)) {
- std::string category_string =
- CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
- switches::kCCUnittestsTraceEventsToVLOG);
-
- if (!category_string.size())
- category_string = "cc";
-
- base::debug::TraceLog::GetInstance()->SetEnabled(
- base::debug::CategoryFilter(category_string),
- base::debug::TraceLog::ECHO_TO_VLOG);
- }
-
message_loop_.reset(new base::MessageLoop);
base::ThreadIdNameManager::GetInstance()->SetName(

Powered by Google App Engine
This is Rietveld 408576698