| Index: chrome/browser/services/gcm/fake_gcm_profile_service.h
|
| diff --git a/chrome/browser/services/gcm/fake_gcm_profile_service.h b/chrome/browser/services/gcm/fake_gcm_profile_service.h
|
| index 1848c0b81beebbf2ade659e692c8d5b997efb464..d291f1cc0efbbedac77af0d00efeabafdaed912c 100644
|
| --- a/chrome/browser/services/gcm/fake_gcm_profile_service.h
|
| +++ b/chrome/browser/services/gcm/fake_gcm_profile_service.h
|
| @@ -25,7 +25,7 @@ class FakeGCMProfileService : public GCMProfileService {
|
|
|
| // GCMProfileService overrides.
|
| virtual void Register(const std::string& app_id,
|
| - const std::vector<std::string>& sender_ids,
|
| + const std::string& sender_id,
|
| const std::string& cert,
|
| RegisterCallback callback) OVERRIDE;
|
| virtual void Send(const std::string& app_id,
|
| @@ -34,7 +34,7 @@ class FakeGCMProfileService : public GCMProfileService {
|
| SendCallback callback) OVERRIDE;
|
|
|
| void RegisterFinished(const std::string& app_id,
|
| - const std::vector<std::string>& sender_ids,
|
| + const std::string& sender_id,
|
| const std::string& cert,
|
| RegisterCallback callback);
|
|
|
| @@ -55,8 +55,8 @@ class FakeGCMProfileService : public GCMProfileService {
|
| return last_registered_app_id_;
|
| }
|
|
|
| - const std::vector<std::string>& last_registered_sender_ids() const {
|
| - return last_registered_sender_ids_;
|
| + const std::string& last_registered_sender_id() const {
|
| + return last_registered_sender_id_;
|
| }
|
|
|
| const std::string& last_registered_cert() const {
|
| @@ -72,7 +72,7 @@ class FakeGCMProfileService : public GCMProfileService {
|
| // furter verification in tests.
|
| bool collect_;
|
| std::string last_registered_app_id_;
|
| - std::vector<std::string> last_registered_sender_ids_;
|
| + std::string last_registered_sender_id_;
|
| std::string last_registered_cert_;
|
| GCMClient::OutgoingMessage last_sent_message_;
|
| std::string last_receiver_id_;
|
|
|