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

Unified Diff: chrome/browser/chromeos/display/display_preferences_unittest.cc

Issue 324583002: The 1st patch to disambiguate message center notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 6 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/chromeos/display/display_preferences_unittest.cc
diff --git a/chrome/browser/chromeos/display/display_preferences_unittest.cc b/chrome/browser/chromeos/display/display_preferences_unittest.cc
index 21e532d57f432b17c756db2ae9255c24041434fc..ff3e4d7b8d2128e96f4b50262eeda11024c31223 100644
--- a/chrome/browser/chromeos/display/display_preferences_unittest.cc
+++ b/chrome/browser/chromeos/display/display_preferences_unittest.cc
@@ -441,8 +441,9 @@ TEST_F(DisplayPreferencesTest, PreventStore) {
message_center::MessageCenter::Get()->ClickOnNotificationButton(
ResolutionNotificationController::kNotificationId, 1);
RunAllPendingInMessageLoop();
- EXPECT_FALSE(message_center::MessageCenter::Get()->HasNotification(
- ResolutionNotificationController::kNotificationId));
+ EXPECT_FALSE(
+ message_center::MessageCenter::Get()->FindVisibleNotificationById(
+ ResolutionNotificationController::kNotificationId));
// Once the notification is removed, the specified resolution will be stored
// by SetDisplayResolution.

Powered by Google App Engine
This is Rietveld 408576698