// all callbacks to the thread on which the GCMStoreImpl is created.
class GCM_EXPORT GCMStoreImpl : public GCMStore {
public:
- GCMStoreImpl(bool use_mock_keychain,
- const base::FilePath& path,
+ GCMStoreImpl(const base::FilePath& path,
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner);
virtual ~GCMStoreImpl();
virtual void RemoveOutgoingMessages(const PersistentIdList& persistent_ids,
const UpdateCallback& callback) OVERRIDE;
+ // Sets last device's checkin time.
+ virtual void SetLastCheckinTime(const base::Time& last_checkin_time,
+ const UpdateCallback& callback) OVERRIDE;
+
+ // G-service settings handling.
+ virtual void SetGServicesSettings(
+ const std::map<std::string, std::string>& settings,
+ const std::string& settings_digest,
+ const UpdateCallback& callback) OVERRIDE;
+
private:
typedef std::map<std::string, int> AppIdToMessageCountMap;