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

Unified Diff: chrome/browser/extensions/api/gcm/gcm_api.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: 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/extensions/api/gcm/gcm_api.cc
diff --git a/chrome/browser/extensions/api/gcm/gcm_api.cc b/chrome/browser/extensions/api/gcm/gcm_api.cc
index ca57f8af9eff399d596e6390336646f32595c450..604ea36592f302b7066f43a1916e0127eae61771 100644
--- a/chrome/browser/extensions/api/gcm/gcm_api.cc
+++ b/chrome/browser/extensions/api/gcm/gcm_api.cc
@@ -129,7 +129,7 @@ bool GcmRegisterFunction::DoWork() {
GCMProfileService()->Register(
GetExtension()->id(),
- params->sender_ids,
+ params->sender_id,
jianli 2014/03/03 21:29:31 Do we want to validate if the sender ID is empty h
fgorski 2014/03/03 23:14:16 This is already done by the gcm.json, and covered
SHA1HashHexString(GetExtension()->public_key()),
base::Bind(&GcmRegisterFunction::CompleteFunctionWithResult, this));
« no previous file with comments | « no previous file | chrome/browser/extensions/api/gcm/gcm_apitest.cc » ('j') | chrome/browser/services/gcm/gcm_client_mock.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698