| 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 40b90f2a55cfcf143b5829ceea4d3976abbc1677..29ec8995d4a034dbad17a6d15b8c50029de314dd 100644
|
| --- a/google_apis/gcm/gcm_client_impl.h
|
| +++ b/google_apis/gcm/gcm_client_impl.h
|
| @@ -54,6 +54,7 @@ class GCM_EXPORT GCMClientImpl : public GCMClient {
|
| const scoped_refptr<net::URLRequestContextGetter>&
|
| url_request_context_getter,
|
| Delegate* delegate) OVERRIDE;
|
| + virtual void CheckIn() OVERRIDE;
|
| virtual void CheckOut() OVERRIDE;
|
| virtual void Register(const std::string& app_id,
|
| const std::string& cert,
|
| @@ -62,13 +63,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.
|
| @@ -149,6 +151,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);
|
|
|