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

Unified Diff: chrome/browser/invalidation/gcm_network_channel_delegate_impl.cc

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: Updates based on CR. Changing how the senders/reg_ids are stored to avoid upgrade to multiple sedne… 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: chrome/browser/invalidation/gcm_network_channel_delegate_impl.cc
diff --git a/chrome/browser/invalidation/gcm_network_channel_delegate_impl.cc b/chrome/browser/invalidation/gcm_network_channel_delegate_impl.cc
index 50245d1993e81e028d383b111d1bcebe4a6c3bb2..6b6127cc3fd5fe12c79e5ae1f31d39a3da89b06f 100644
--- a/chrome/browser/invalidation/gcm_network_channel_delegate_impl.cc
+++ b/chrome/browser/invalidation/gcm_network_channel_delegate_impl.cc
@@ -82,11 +82,9 @@ void RegisterCall::RegisterOnUIThread() {
if (gcm_profile_service == NULL)
return;
- std::vector<std::string> sender_ids;
- sender_ids.push_back(kInvalidationsSenderId);
gcm_profile_service->Register(
kInvalidationsAppId,
- sender_ids,
+ kInvalidationsSenderId,
kInvalidationsCert,
base::Bind(&RegisterCall::RegisterFinishedOnUIThread, this));
}

Powered by Google App Engine
This is Rietveld 408576698