Index: chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc |
diff --git a/chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc b/chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc |
index 94a48c7b894d0a1584c8d81e55b0b21b35a73b7a..5a1f1b887ad908ec71e8f51f08342d7cebd0bfa6 100644 |
--- a/chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc |
+++ b/chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc |
@@ -36,7 +36,7 @@ class LoginStateNotificationBlockerChromeOSTest |
chromeos::LoginState::Shutdown(); |
} |
- // message_center::NotificationBlocker::Observer ovverrides: |
+ // message_center::NotificationBlocker::Observer overrides: |
virtual void OnBlockingStateChanged( |
message_center::NotificationBlocker* blocker) OVERRIDE { |
state_changed_count_++; |
@@ -70,7 +70,7 @@ TEST_F(LoginStateNotificationBlockerChromeOSTest, BaseTest) { |
chromeos::LoginState::Get()->SetLoggedInState( |
chromeos::LoginState::LOGGED_IN_NONE, |
chromeos::LoginState::LOGGED_IN_USER_NONE); |
- EXPECT_EQ(1, GetStateChangedCountAndReset()); |
+ EXPECT_EQ(0, GetStateChangedCountAndReset()); |
EXPECT_FALSE(ShouldShowNotificationAsPopup(notifier_id)); |
// Logged in as a normal user. |
@@ -104,7 +104,7 @@ TEST_F(LoginStateNotificationBlockerChromeOSTest, AlwaysAllowedNotifier) { |
chromeos::LoginState::Get()->SetLoggedInState( |
chromeos::LoginState::LOGGED_IN_NONE, |
chromeos::LoginState::LOGGED_IN_USER_NONE); |
- EXPECT_EQ(1, GetStateChangedCountAndReset()); |
+ EXPECT_EQ(0, GetStateChangedCountAndReset()); |
EXPECT_TRUE(ShouldShowNotificationAsPopup(notifier_id)); |
// Logged in as a normal user. |