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

Unified Diff: chrome/browser/services/gcm/fake_gcm_profile_service.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/services/gcm/fake_gcm_profile_service.cc
diff --git a/chrome/browser/services/gcm/fake_gcm_profile_service.cc b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
index c124f4f5ad21e72b98bc82813955a18625f9d55b..b789d15df6799cc95ccc75ab05556cf1d948ff0a 100644
--- a/chrome/browser/services/gcm/fake_gcm_profile_service.cc
+++ b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
@@ -27,7 +27,6 @@ FakeGCMProfileService::~FakeGCMProfileService() {}
void FakeGCMProfileService::Register(const std::string& app_id,
const std::vector<std::string>& sender_ids,
- const std::string& cert,
RegisterCallback callback) {
base::MessageLoop::current()->PostTask(
FROM_HERE,
@@ -35,19 +34,16 @@ void FakeGCMProfileService::Register(const std::string& app_id,
base::Unretained(this),
app_id,
sender_ids,
- cert,
callback));
}
void FakeGCMProfileService::RegisterFinished(
const std::string& app_id,
const std::vector<std::string>& sender_ids,
- const std::string& cert,
RegisterCallback callback) {
if (collect_) {
last_registered_app_id_ = app_id;
last_registered_sender_ids_ = sender_ids;
- last_registered_cert_ = cert;
}
callback.Run(base::UintToString(sender_ids.size()), GCMClient::SUCCESS);
« no previous file with comments | « chrome/browser/services/gcm/fake_gcm_profile_service.h ('k') | chrome/browser/services/gcm/gcm_client_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698