Index: chrome/browser/extensions/api/notifications/notifications_apitest.cc |
diff --git a/chrome/browser/extensions/api/notifications/notifications_apitest.cc b/chrome/browser/extensions/api/notifications/notifications_apitest.cc |
index d53dfb368df5613cc59852556ec6986ac0aefc9e..ee6eef5506972d1d4982ddd6d37be1f9860f0bc2 100644 |
--- a/chrome/browser/extensions/api/notifications/notifications_apitest.cc |
+++ b/chrome/browser/extensions/api/notifications/notifications_apitest.cc |
@@ -146,12 +146,14 @@ IN_PROC_BROWSER_TEST_F(NotificationsApiTest, TestByUser) { |
{ |
ResultCatcher catcher; |
- g_browser_process->message_center()->RemoveAllNotifications(false); |
+ g_browser_process->message_center()->RemoveAllNotifications( |
+ false /* by_user */, message_center::MessageCenter::RemoveType::ALL); |
EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); |
} |
{ |
ResultCatcher catcher; |
- g_browser_process->message_center()->RemoveAllNotifications(true); |
+ g_browser_process->message_center()->RemoveAllNotifications( |
+ true /* by_user */, message_center::MessageCenter::RemoveType::ALL); |
EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); |
} |
} |