diff options
Diffstat (limited to 'chrome/browser/extensions/api/notifications/notifications_apitest.cc')
| -rw-r--r-- | chrome/browser/extensions/api/notifications/notifications_apitest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/extensions/api/notifications/notifications_apitest.cc b/chrome/browser/extensions/api/notifications/notifications_apitest.cc index d53dfb3..ee6eef5 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(); } } |
