Index: base/debug/trace_event_unittest.cc |
diff --git a/base/debug/trace_event_unittest.cc b/base/debug/trace_event_unittest.cc |
index 8685ceb3e361e7050b1805fb7237347f39ac3b37..000097e16e0c58f739cf9376d955ef58bf728261 100644 |
--- a/base/debug/trace_event_unittest.cc |
+++ b/base/debug/trace_event_unittest.cc |
@@ -1781,6 +1781,11 @@ TEST_F(TraceEventTestFixture, TraceOptionsParsing) { |
TraceLog::TraceOptionsFromString("record-until-full")); |
EXPECT_EQ(TraceLog::RECORD_CONTINUOUSLY, |
TraceLog::TraceOptionsFromString("record-continuously")); |
+ EXPECT_EQ(TraceLog::RECORD_UNTIL_FULL | TraceLog::ENABLE_SAMPLING, |
+ TraceLog::TraceOptionsFromString("enable-sampling")); |
+ EXPECT_EQ(TraceLog::RECORD_CONTINUOUSLY | TraceLog::ENABLE_SAMPLING, |
+ TraceLog::TraceOptionsFromString( |
+ "record-continuously,enable-sampling")); |
} |
// Not supported in split dll build. http://crbug.com/237249 |