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

Unified Diff: ash/display/resolution_notification_controller_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
« no previous file with comments | « no previous file | ash/system/chromeos/managed/tray_locally_managed_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/resolution_notification_controller_unittest.cc
diff --git a/ash/display/resolution_notification_controller_unittest.cc b/ash/display/resolution_notification_controller_unittest.cc
index 4d1eedf648ced2841c6ac6c44c5c6d0fcfca8c86..e351c86ce7115aa4b2c2561f786f06a973d906de 100644
--- a/ash/display/resolution_notification_controller_unittest.cc
+++ b/ash/display/resolution_notification_controller_unittest.cc
@@ -123,7 +123,7 @@ class ResolutionNotificationControllerTest : public ash::test::AshTestBase {
}
static bool IsNotificationVisible() {
- return message_center::MessageCenter::Get()->HasNotification(
+ return message_center::MessageCenter::Get()->FindVisibleNotificationById(
ResolutionNotificationController::kNotificationId);
}
« no previous file with comments | « no previous file | ash/system/chromeos/managed/tray_locally_managed_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698