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

Unified Diff: google_apis/gcm/engine/registration_request_unittest.cc

Issue 179043005: [GCM] Remove the requirement for manifest key (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove cert 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
« no previous file with comments | « google_apis/gcm/engine/registration_request.cc ('k') | google_apis/gcm/gcm_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/registration_request_unittest.cc
diff --git a/google_apis/gcm/engine/registration_request_unittest.cc b/google_apis/gcm/engine/registration_request_unittest.cc
index 4764d1384ac2da7bf78767628fc41fc40ba04073..a76479d24a1349db14d1252d6abf6edb8c08fea3 100644
--- a/google_apis/gcm/engine/registration_request_unittest.cc
+++ b/google_apis/gcm/engine/registration_request_unittest.cc
@@ -19,7 +19,6 @@ namespace gcm {
namespace {
const uint64 kAndroidId = 42UL;
const char kAppId[] = "TestAppId";
-const char kCert[] = "0DEADBEEF420";
const char kDeveloperId[] = "Project1";
const char kLoginHeader[] = "AidLogin";
const uint64 kSecurityToken = 77UL;
@@ -110,7 +109,6 @@ void RegistrationRequestTest::CreateRequest(const std::string& sender_ids) {
RegistrationRequest::RequestInfo(kAndroidId,
kSecurityToken,
kAppId,
- kCert,
senders),
kDefaultBackoffPolicy,
base::Bind(&RegistrationRequestTest::RegistrationCallback,
@@ -175,7 +173,6 @@ TEST_F(RegistrationRequestTest, RequestDataPassedToFetcher) {
std::map<std::string, std::string> expected_pairs;
expected_pairs["app"] = kAppId;
expected_pairs["sender"] = kDeveloperId;
- expected_pairs["cert"] = kCert;
expected_pairs["device"] = base::Uint64ToString(kAndroidId);
// Verify data was formatted properly.
« no previous file with comments | « google_apis/gcm/engine/registration_request.cc ('k') | google_apis/gcm/gcm_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698