Index: components/invalidation/push_client_channel.cc |
diff --git a/components/invalidation/push_client_channel.cc b/components/invalidation/push_client_channel.cc |
index 3d12d485a232a8d38f3dd0742fbf2ce1f33caa9c..022993ea3b4d3e954b0cfc4e7858f1fb725fcc22 100644 |
--- a/components/invalidation/push_client_channel.cc |
+++ b/components/invalidation/push_client_channel.cc |
@@ -70,12 +70,14 @@ void PushClientChannel::SendMessage(const std::string& message) { |
} |
void PushClientChannel::OnNotificationsEnabled() { |
- NotifyStateChange(INVALIDATIONS_ENABLED); |
+ NotifyNetworkStatusChange(true); |
+ NotifyChannelStateChange(INVALIDATIONS_ENABLED); |
} |
void PushClientChannel::OnNotificationsDisabled( |
notifier::NotificationsDisabledReason reason) { |
- NotifyStateChange(FromNotifierReason(reason)); |
+ NotifyNetworkStatusChange(false); |
+ NotifyChannelStateChange(FromNotifierReason(reason)); |
} |
void PushClientChannel::OnIncomingNotification( |