| 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 ccf480bcda078c831f18abd28f63b1c7f3b1bb15..1b15e56bcb11458b0dffd6843e1b3b93a196e260 100644
|
| --- a/google_apis/gcm/engine/gcm_store.h
|
| +++ b/google_apis/gcm/engine/gcm_store.h
|
| @@ -48,6 +48,8 @@ class GCM_EXPORT GCMStore {
|
| RegistrationInfoMap registrations;
|
| std::vector<std::string> incoming_messages;
|
| OutgoingMessageMap outgoing_messages;
|
| + std::map<std::string, std::string> gservices_settings;
|
| + std::string gservices_digest;
|
| base::Time last_checkin_time;
|
| };
|
|
|
| @@ -107,6 +109,14 @@ class GCM_EXPORT GCMStore {
|
| virtual void SetLastCheckinTime(const base::Time& last_checkin_time,
|
| const UpdateCallback& callback) = 0;
|
|
|
| + // G-service settings handling.
|
| + // Persists |settings| and |settings_digest|. It completely replaces the
|
| + // existing data.
|
| + virtual void SetGServicesSettings(
|
| + const std::map<std::string, std::string>& settings,
|
| + const std::string& settings_digest,
|
| + const UpdateCallback& callback) = 0;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(GCMStore);
|
| };
|
|
|