Chromium Code Reviews| Index: google_apis/gcm/gcm_client.h |
| diff --git a/google_apis/gcm/gcm_client.h b/google_apis/gcm/gcm_client.h |
| index 8bb616d35cc80cbdae308b8fa46f38b5b072076c..971c8864a6221ce2096fa37597101cf80b486c6f 100644 |
| --- a/google_apis/gcm/gcm_client.h |
| +++ b/google_apis/gcm/gcm_client.h |
| @@ -147,6 +147,9 @@ class GCM_EXPORT GCMClient { |
| url_request_context_getter, |
| Delegate* delegate) = 0; |
| + // Loads the data from the persistent store and starts checking in with GCM. |
| + virtual void CheckIn() = 0; |
|
Nicolas Zea
2014/02/21 18:58:59
Does it make more sense to call this Load() now? A
jianli
2014/02/21 20:24:06
Renamed to Load() added comment.
|
| + |
| // Checks out of the GCM service. This will erase all the cached and persisted |
| // data. |
| virtual void CheckOut() = 0; |
| @@ -176,9 +179,6 @@ class GCM_EXPORT GCMClient { |
| virtual void Send(const std::string& app_id, |
| const std::string& receiver_id, |
| const OutgoingMessage& message) = 0; |
| - |
| - // Returns true if GCM becomes ready. |
| - virtual bool IsReady() const = 0; |
| }; |
| } // namespace gcm |