| Index: google_apis/gcm/engine/gcm_store.h
|
| diff --git a/google_apis/gcm/engine/gcm_store.h b/google_apis/gcm/engine/gcm_store.h
|
| index cfefe914b45ddc4b86d1fac8a65b39a5dd8dc075..26af17a82e51b81f6f1be3149272bae35ce4cb63 100644
|
| --- a/google_apis/gcm/engine/gcm_store.h
|
| +++ b/google_apis/gcm/engine/gcm_store.h
|
| @@ -20,7 +20,6 @@
|
| #include "base/time/time.h"
|
| #include "google_apis/gcm/base/gcm_export.h"
|
| #include "google_apis/gcm/engine/account_mapping.h"
|
| -#include "google_apis/gcm/engine/registration_info.h"
|
|
|
| namespace gcm {
|
|
|
| @@ -47,7 +46,7 @@ class GCM_EXPORT GCMStore {
|
| bool success;
|
| uint64 device_android_id;
|
| uint64 device_security_token;
|
| - RegistrationInfoMap registrations;
|
| + std::map<std::string, std::string> registrations;
|
| std::vector<std::string> incoming_messages;
|
| OutgoingMessageMap outgoing_messages;
|
| std::map<std::string, std::string> gservices_settings;
|
| @@ -83,10 +82,10 @@ class GCM_EXPORT GCMStore {
|
| const UpdateCallback& callback) = 0;
|
|
|
| // Registration info.
|
| - virtual void AddRegistration(const std::string& app_id,
|
| - const linked_ptr<RegistrationInfo>& registration,
|
| + virtual void AddRegistration(const std::string& serialized_key,
|
| + const std::string& serialized_value,
|
| const UpdateCallback& callback) = 0;
|
| - virtual void RemoveRegistration(const std::string& app_id,
|
| + virtual void RemoveRegistration(const std::string& serialized_key,
|
| const UpdateCallback& callback) = 0;
|
|
|
| // Unacknowledged incoming message handling.
|
|
|