Chromium Code Reviews| 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..73cfe22491b6a89bd3142b70e5820a7bc3c40213 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|, |settings_digest| and |last_checkin_time|. It |
|
Nicolas Zea
2014/04/04 20:09:56
nit: remove mention of last checkin time.
|
| + // 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); |
| }; |