summaryrefslogtreecommitdiffstats
path: root/components/gcm_driver/gcm_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/gcm_driver/gcm_client.h')
-rw-r--r--components/gcm_driver/gcm_client.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h
index 2aa224a..cd804b2 100644
--- a/components/gcm_driver/gcm_client.h
+++ b/components/gcm_driver/gcm_client.h
@@ -309,6 +309,17 @@ class GCMClient {
// Updates the timer used by the HeartbeatManager for sending heartbeats.
virtual void UpdateHeartbeatTimer(scoped_ptr<base::Timer> timer) = 0;
+
+ // Adds the Instance ID data for a specific app to the persistent store.
+ virtual void AddInstanceIDData(const std::string& app_id,
+ const std::string& instance_id_data) = 0;
+
+ // Removes the Instance ID data for a specific app from the persistent store.
+ virtual void RemoveInstanceIDData(const std::string& app_id) = 0;
+
+ // Retrieves the Instance ID data for a specific app from the persistent
+ // store.
+ virtual std::string GetInstanceIDData(const std::string& app_id) = 0;
};
} // namespace gcm