diff options
author | jianli <jianli@chromium.org> | 2015-05-11 14:14:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-11 21:14:58 +0000 |
commit | 10018b2d2d5954cb697ccad19eef63919aef0786 (patch) | |
tree | 7f5f4fa86eacf75884463c87438ddfe84b1fd4f1 /components/gcm_driver/fake_gcm_client.h | |
parent | e8624082aaf1743e46f2868f807ac164c587d77b (diff) | |
download | chromium_src-10018b2d2d5954cb697ccad19eef63919aef0786.zip chromium_src-10018b2d2d5954cb697ccad19eef63919aef0786.tar.gz chromium_src-10018b2d2d5954cb697ccad19eef63919aef0786.tar.bz2 |
Persist Instance ID data to GCM store.
BUG=477084
TEST=new tests
TBR=asvitkine@chromium.org
Review URL: https://codereview.chromium.org/1126233004
Cr-Commit-Position: refs/heads/master@{#329233}
Diffstat (limited to 'components/gcm_driver/fake_gcm_client.h')
-rw-r--r-- | components/gcm_driver/fake_gcm_client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/gcm_driver/fake_gcm_client.h b/components/gcm_driver/fake_gcm_client.h index 21d696d..c0b03da 100644 --- a/components/gcm_driver/fake_gcm_client.h +++ b/components/gcm_driver/fake_gcm_client.h @@ -56,6 +56,10 @@ class FakeGCMClient : public GCMClient { void RemoveAccountMapping(const std::string& account_id) override; void SetLastTokenFetchTime(const base::Time& time) override; void UpdateHeartbeatTimer(scoped_ptr<base::Timer> timer) override; + void AddInstanceIDData(const std::string& app_id, + const std::string& instance_id_data) override; + void RemoveInstanceIDData(const std::string& app_id) override; + std::string GetInstanceIDData(const std::string& app_id) override; // Initiate the start that has been delayed. // Called on UI thread. |