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

Unified Diff: chrome/browser/invalidation/gcm_network_channel_delegate_impl.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
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 dda940d8a591934fd9aa20e571e4800ead155041..243745534385149dbafe6db4db294487fa561a63 100644
--- a/chrome/browser/invalidation/gcm_network_channel_delegate_impl.cc
+++ b/chrome/browser/invalidation/gcm_network_channel_delegate_impl.cc
@@ -28,11 +28,10 @@ namespace {
// legacy format where gmail account can be specificed. Below value is copied
// from Android.
const char kInvalidationsSenderId[] = "ipc.invalidation@gmail.com";
-// In Android world AppId and Cert are provided by operating system and should
+// In Android world AppId is provided by operating system and should
// match package name and hash of application. In desktop world these values
// are arbitrary and not verified/enforced by registration service (yet).
const char kInvalidationsAppId[] = "com.google.chrome.invalidations";
-const char kInvalidationsCert[] = "ABC";
// In each call to Register object of RegisterCall will be created.
// Its purpose is to pass context (profile and callback) around between threads
@@ -85,7 +84,6 @@ void RegisterCall::RegisterOnUIThread() {
gcm_profile_service->Register(
kInvalidationsAppId,
sender_ids,
- kInvalidationsCert,
base::Bind(&RegisterCall::RegisterFinishedOnUIThread, this));
}
« no previous file with comments | « chrome/browser/extensions/api/gcm/gcm_apitest.cc ('k') | chrome/browser/services/gcm/fake_gcm_profile_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698