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

Unified Diff: chrome/browser/services/gcm/gcm_client_mock.h

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/services/gcm/gcm_client_mock.h
diff --git a/chrome/browser/services/gcm/gcm_client_mock.h b/chrome/browser/services/gcm/gcm_client_mock.h
index 23fc7c41a216eae107bdeba19ed8dd77dc65d855..d17f98e55020dc7a74942bf60613da2fc967377f 100644
--- a/chrome/browser/services/gcm/gcm_client_mock.h
+++ b/chrome/browser/services/gcm/gcm_client_mock.h
@@ -48,7 +48,7 @@ class GCMClientMock : public GCMClient {
virtual void CheckOut() OVERRIDE;
virtual void Register(const std::string& app_id,
const std::string& cert,
- const std::vector<std::string>& sender_ids) OVERRIDE;
+ const std::string& sender_id) OVERRIDE;
virtual void Unregister(const std::string& app_id) OVERRIDE;
virtual void Send(const std::string& app_id,
const std::string& receiver_id,
@@ -65,7 +65,7 @@ class GCMClientMock : public GCMClient {
void DeleteMessages(const std::string& app_id);
static std::string GetRegistrationIdFromSenderIds(
jianli 2014/03/03 21:29:31 Remove the trailing "s" from the name.
fgorski 2014/03/03 23:14:16 Done.
- const std::vector<std::string>& sender_ids);
+ const std::string& sender_id);
Status status() const { return status_; }

Powered by Google App Engine
This is Rietveld 408576698