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

Unified Diff: google_apis/gcm/gcm_client_impl_unittest.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: google_apis/gcm/gcm_client_impl_unittest.cc
diff --git a/google_apis/gcm/gcm_client_impl_unittest.cc b/google_apis/gcm/gcm_client_impl_unittest.cc
index cb8d217c00a4740e4d562db71b0f2d577c29d4da..f49d8a6c67940c94de3df492557c4a2ec53d7ea2 100644
--- a/google_apis/gcm/gcm_client_impl_unittest.cc
+++ b/google_apis/gcm/gcm_client_impl_unittest.cc
@@ -365,8 +365,7 @@ TEST_F(GCMClientImplTest, CheckOut) {
TEST_F(GCMClientImplTest, RegisterApp) {
std::vector<std::string> senders;
jianli 2014/03/03 21:29:31 nit: senders should be removed
fgorski 2014/03/03 23:14:16 Done.
- senders.push_back("sender");
- gcm_client()->Register("app_id", "cert", senders);
+ gcm_client()->Register("app_id", "cert", "sender");
CompleteRegistration("reg_id");
EXPECT_EQ(REGISTRATION_COMPLETED, last_event());
« google_apis/gcm/engine/registration_request.h ('K') | « google_apis/gcm/gcm_client_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698