| 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..66748a8381a34f4c8518616ef527e1b319c79e6a 100644
|
| --- a/chrome/browser/services/gcm/fake_gcm_profile_service.cc
|
| +++ b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
|
| @@ -26,7 +26,7 @@ FakeGCMProfileService::FakeGCMProfileService(Profile* profile)
|
| FakeGCMProfileService::~FakeGCMProfileService() {}
|
|
|
| void FakeGCMProfileService::Register(const std::string& app_id,
|
| - const std::vector<std::string>& sender_ids,
|
| + const std::string& sender_id,
|
| const std::string& cert,
|
| RegisterCallback callback) {
|
| base::MessageLoop::current()->PostTask(
|
| @@ -34,23 +34,23 @@ void FakeGCMProfileService::Register(const std::string& app_id,
|
| base::Bind(&FakeGCMProfileService::RegisterFinished,
|
| base::Unretained(this),
|
| app_id,
|
| - sender_ids,
|
| + sender_id,
|
| cert,
|
| callback));
|
| }
|
|
|
| void FakeGCMProfileService::RegisterFinished(
|
| const std::string& app_id,
|
| - const std::vector<std::string>& sender_ids,
|
| + const std::string& sender_id,
|
| const std::string& cert,
|
| RegisterCallback callback) {
|
| if (collect_) {
|
| last_registered_app_id_ = app_id;
|
| - last_registered_sender_ids_ = sender_ids;
|
| + last_registered_sender_id_ = sender_id;
|
| last_registered_cert_ = cert;
|
| }
|
|
|
| - callback.Run(base::UintToString(sender_ids.size()), GCMClient::SUCCESS);
|
| + callback.Run(base::UintToString(sender_id.size()), GCMClient::SUCCESS);
|
| }
|
|
|
| void FakeGCMProfileService::Send(const std::string& app_id,
|
|
|