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

Unified Diff: base/trace_event/memory_dump_manager_unittest.cc

Issue 1165673002: [Startup Tracing] Hook up TraceConfig and remove CategoryFilter & TraceOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: base/trace_event/memory_dump_manager_unittest.cc
diff --git a/base/trace_event/memory_dump_manager_unittest.cc b/base/trace_event/memory_dump_manager_unittest.cc
index 1da9429588e14b1de200dc278a50df92e40dd945..c15748c9ab71e10d13b4850f667cc2f17e98772f 100644
--- a/base/trace_event/memory_dump_manager_unittest.cc
+++ b/base/trace_event/memory_dump_manager_unittest.cc
@@ -64,7 +64,7 @@ class MemoryDumpManagerTest : public testing::Test {
void EnableTracing(const char* category) {
TraceLog::GetInstance()->SetEnabled(
- CategoryFilter(category), TraceLog::RECORDING_MODE, TraceOptions());
+ TraceConfig(category, ""), TraceLog::RECORDING_MODE);
dsinclair 2015/06/02 13:56:54 Can we add a default value of "" to the trace conf
Zhen Wang 2015/06/02 16:24:41 TraceConfig has the following two constructors 1.
}
void DisableTracing() { TraceLog::GetInstance()->SetDisabled(); }

Powered by Google App Engine
This is Rietveld 408576698