Chromium Code Reviews| Index: jingle/notifier/listener/non_blocking_push_client.h |
| diff --git a/jingle/notifier/listener/non_blocking_push_client.h b/jingle/notifier/listener/non_blocking_push_client.h |
| index 434f5f4ec68070e37f309ece5af72e102852045c..f5c6bc48e095a05e406115b794d2538260bf08c5 100644 |
| --- a/jingle/notifier/listener/non_blocking_push_client.h |
| +++ b/jingle/notifier/listener/non_blocking_push_client.h |
| @@ -49,6 +49,7 @@ class NonBlockingPushClient : public PushClient { |
| virtual void UpdateCredentials( |
| const std::string& email, const std::string& token) OVERRIDE; |
| virtual void SendNotification(const Notification& notification) OVERRIDE; |
| + virtual void SendPing() OVERRIDE; |
|
akalin
2012/10/25 00:10:13
add unit test for this please
gene
2012/10/25 00:43:26
Done.
|
| private: |
| class Core; |
| @@ -56,6 +57,7 @@ class NonBlockingPushClient : public PushClient { |
| void OnNotificationsEnabled(); |
| void OnNotificationsDisabled(NotificationsDisabledReason reason); |
| void OnIncomingNotification(const Notification& notification); |
| + void OnPingResponse(); |
| base::ThreadChecker thread_checker_; |
| base::WeakPtrFactory<NonBlockingPushClient> weak_ptr_factory_; |