Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: components/gcm_driver/gcm_client.h

Issue 1126233004: Persist Instance ID data to GCM store. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mac Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.cc ('k') | components/gcm_driver/gcm_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_client.h
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h
index 2aa224a369aba8f176cc012b4444998dcbe393a0..cd804b2a520300cf9011700f10d3d902f609a32a 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
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.cc ('k') | components/gcm_driver/gcm_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698