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

Unified Diff: ash/system/chromeos/network/network_state_notifier_unittest.cc

Issue 14729017: Add NetworkHandler to own network handlers in src/chromeos/network (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + elim LoginState dependency Created 7 years, 7 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 fde1ad036db7e25b0f11be53fd2e67e4303137e0..fb5108e8214dda278f12dc26abddec9497aa346e 100644
--- a/ash/system/chromeos/network/network_state_notifier_unittest.cc
+++ b/ash/system/chromeos/network/network_state_notifier_unittest.cc
@@ -96,7 +96,7 @@ TEST_F(NetworkStateNotifierTest, ConnectionFailure) {
EXPECT_FALSE(GetSystemTray()->CloseNotificationBubbleForTest());
// State -> Failure for connecting network should spawn a notification
SetServiceState("wifi1", flimflam::kStateAssociation);
- NetworkStateHandler::Get()->SetConnectingNetwork("wifi1");
+ NetworkHandler::Get()->network_state_handler()->SetConnectingNetwork("wifi1");
SetServiceState("wifi1", flimflam::kStateFailure);
EXPECT_TRUE(GetSystemTray()->CloseNotificationBubbleForTest());
// Failure -> Idle should not spawn a notification

Powered by Google App Engine
This is Rietveld 408576698