Index: sync/notifier/push_client_channel.h |
diff --git a/sync/notifier/push_client_channel.h b/sync/notifier/push_client_channel.h |
index 1721def63fc16bdb42968b7970facfb97aa75117..d7ce4d397f0f738642b29c95e288ec5a17b91f1c 100644 |
--- a/sync/notifier/push_client_channel.h |
+++ b/sync/notifier/push_client_channel.h |
@@ -27,6 +27,8 @@ class PushClientChannel |
: public invalidation::NetworkChannel, |
public notifier::PushClientObserver { |
public: |
+ // |push_client| is guaranteed to be destroyed only when this object |
+ // |is destroyed. |
explicit PushClientChannel(scoped_ptr<notifier::PushClient> push_client); |
virtual ~PushClientChannel(); |
@@ -46,7 +48,8 @@ class PushClientChannel |
invalidation::SystemResources* resources) OVERRIDE; |
// notifier::PushClient::Observer implementation. |
- virtual void OnNotificationStateChange(bool notifications_enabled) OVERRIDE; |
+ virtual void OnPushClientStateChange( |
+ notifier::PushClientState push_client_state) OVERRIDE; |
virtual void OnIncomingNotification( |
const notifier::Notification& notification) OVERRIDE; |