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

Unified Diff: ash/system/chromeos/network/network_state_notifier_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: ash/system/chromeos/network/network_state_notifier_unittest.cc
diff --git a/ash/system/chromeos/network/network_state_notifier_unittest.cc b/ash/system/chromeos/network/network_state_notifier_unittest.cc
index 945bca3bc53d16b596138f2bcfe89bb93bf173bc..56fed05bf0e14a1d644c4470122cb64df4b6e4c6 100644
--- a/ash/system/chromeos/network/network_state_notifier_unittest.cc
+++ b/ash/system/chromeos/network/network_state_notifier_unittest.cc
@@ -98,7 +98,7 @@ TEST_F(NetworkStateNotifierTest, ConnectionFailure) {
// Failure should spawn a notification.
message_center::MessageCenter* message_center =
message_center::MessageCenter::Get();
- EXPECT_TRUE(message_center->HasNotification(
+ EXPECT_TRUE(message_center->FindVisibleNotificationById(
network_connect::kNetworkConnectNotificationId));
}

Powered by Google App Engine
This is Rietveld 408576698