| Index: google_apis/gcm/gcm_client.h
|
| diff --git a/google_apis/gcm/gcm_client.h b/google_apis/gcm/gcm_client.h
|
| index 9280c68914b4564b5ba9b32b112570e24f8ccd01..c57cee784c57fd8d1f7a6e8c13e5ddbe07263559 100644
|
| --- a/google_apis/gcm/gcm_client.h
|
| +++ b/google_apis/gcm/gcm_client.h
|
| @@ -132,7 +132,8 @@ class GCM_EXPORT GCMClient {
|
| GCMClient();
|
| virtual ~GCMClient();
|
|
|
| - // Begins initialization of the GCM Client.
|
| + // Begins initialization of the GCM Client. This will not trigger a
|
| + // connection.
|
| // |chrome_build_proto|: chrome info, i.e., version, channel and etc.
|
| // |store_path|: path to the GCM store.
|
| // |account_ids|: account IDs to be related to the device when checking in.
|
| @@ -149,6 +150,10 @@ class GCM_EXPORT GCMClient {
|
| url_request_context_getter,
|
| Delegate* delegate) = 0;
|
|
|
| + // Loads the data from the persistent store. This will automatically kick off
|
| + // the check-in if the check-in info is not found in the store.
|
| + virtual void Load() = 0;
|
| +
|
| // Checks out of the GCM service. This will erase all the cached and persisted
|
| // data.
|
| virtual void CheckOut() = 0;
|
| @@ -178,9 +183,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
|
|
|