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

Unified Diff: google_apis/gcm/gcm_client.h

Issue 183923006: [GCM] API update to allow only a single sender in registration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
Index: google_apis/gcm/gcm_client.h
diff --git a/google_apis/gcm/gcm_client.h b/google_apis/gcm/gcm_client.h
index c57cee784c57fd8d1f7a6e8c13e5ddbe07263559..07c20ce4d77f9b3e78deac55ac562fdc11f5f7dc 100644
--- a/google_apis/gcm/gcm_client.h
+++ b/google_apis/gcm/gcm_client.h
@@ -162,12 +162,12 @@ class GCM_EXPORT GCMClient {
// called asynchronously upon completion.
// |app_id|: application ID.
// |cert|: SHA-1 of public key of the application, in base16 format.
- // |sender_ids|: list of IDs of the servers that are allowed to send the
- // messages to the application. These IDs are assigned by the
- // Google API Console.
+ // |sender_id|: project ID of a server that is allowed to send messages to the
+ // application. Project IDs are assigned by the Google API
+ // Console.
virtual void Register(const std::string& app_id,
const std::string& cert,
- const std::vector<std::string>& sender_ids) = 0;
+ const std::string& sender_id) = 0;
// Unregisters the application from GCM when it is uninstalled.
// Delegate::OnUnregisterFinished will be called asynchronously upon

Powered by Google App Engine
This is Rietveld 408576698