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 ba9fe4407262c7b01644d9b7f6e986b8082f89db..2d0bd63c77e35339422b45fa162ea405c1e36752 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(); |
} |
} |