| Index: google_apis/gcm/gcm_client_impl.h
|
| diff --git a/google_apis/gcm/gcm_client_impl.h b/google_apis/gcm/gcm_client_impl.h
|
| index 9299bd57d207831d618a9d3802366ecfd2b71ec6..72b86bab65f49ba9162472ec4f1e57395f802479 100644
|
| --- a/google_apis/gcm/gcm_client_impl.h
|
| +++ b/google_apis/gcm/gcm_client_impl.h
|
| @@ -55,6 +55,7 @@ class GCM_EXPORT GCMClientImpl : public GCMClient {
|
| const scoped_refptr<net::URLRequestContextGetter>&
|
| url_request_context_getter,
|
| Delegate* delegate) OVERRIDE;
|
| + virtual void Load() OVERRIDE;
|
| virtual void CheckOut() OVERRIDE;
|
| virtual void Register(const std::string& app_id,
|
| const std::string& cert,
|
| @@ -63,13 +64,14 @@ class GCM_EXPORT GCMClientImpl : public GCMClient {
|
| virtual void Send(const std::string& app_id,
|
| const std::string& receiver_id,
|
| const OutgoingMessage& message) OVERRIDE;
|
| - virtual bool IsReady() const OVERRIDE;
|
|
|
| private:
|
| // State representation of the GCMClient.
|
| enum State {
|
| // Uninitialized.
|
| UNINITIALIZED,
|
| + // Initialized,
|
| + INITIALIZED,
|
| // GCM store loading is in progress.
|
| LOADING,
|
| // Initial device checkin is in progress.
|
| @@ -150,6 +152,9 @@ class GCM_EXPORT GCMClientImpl : public GCMClient {
|
| // Completes the unregistration request.
|
| void OnUnregisterCompleted(const std::string& app_id, bool status);
|
|
|
| + // Completes the GCM store destroy request.
|
| + void OnGCMStoreDestroyed(bool success);
|
| +
|
| // Handles incoming data message and dispatches it the a relevant user
|
| // delegate.
|
| void HandleIncomingMessage(const gcm::MCSMessage& message);
|
|
|