Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: chrome/browser/extensions/api/notifications/notifications_apitest.cc

Issue 1645843003: Implement Non-Closable Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary property. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
}

Powered by Google App Engine
This is Rietveld 408576698