Index: chrome/browser/drive/event_logger_unittest.cc |
diff --git a/chrome/browser/drive/event_logger_unittest.cc b/chrome/browser/drive/event_logger_unittest.cc |
index c57078f2db74ec0392e37a7271d5d563fa657b51..2d41d2c47a44d30b325f3053f867eca49320811d 100644 |
--- a/chrome/browser/drive/event_logger_unittest.cc |
+++ b/chrome/browser/drive/event_logger_unittest.cc |
@@ -13,9 +13,9 @@ TEST(EventLoggerTest, BasicLogging) { |
logger.SetHistorySize(3); // At most 3 events are kept. |
EXPECT_EQ(0U, logger.GetHistory().size()); |
- logger.Log("first"); |
- logger.Log("%dnd", 2); |
- logger.Log("third"); |
+ logger.Log(logging::LOG_INFO, "first"); |
+ logger.Log(logging::LOG_INFO, "2nd"); |
+ logger.Log(logging::LOG_INFO, "third"); |
// Events are recorded in the chronological order with sequential IDs. |
std::vector<EventLogger::Event> history = logger.GetHistory(); |
@@ -27,7 +27,7 @@ TEST(EventLoggerTest, BasicLogging) { |
EXPECT_EQ(2, history[2].id); |
EXPECT_EQ("third", history[2].what); |
- logger.Log("fourth"); |
+ logger.Log(logging::LOG_INFO, "fourth"); |
// It does not log events beyond the specified. |
history = logger.GetHistory(); |
ASSERT_EQ(3U, history.size()); |