Index: components/gcm_driver/fake_gcm_client.h |
diff --git a/components/gcm_driver/fake_gcm_client.h b/components/gcm_driver/fake_gcm_client.h |
index c0b03daba88b17fbc856e8cb3c815001808468f5..921a49747e6deb8275231099a4f83fd4f2261201 100644 |
--- a/components/gcm_driver/fake_gcm_client.h |
+++ b/components/gcm_driver/fake_gcm_client.h |
@@ -41,9 +41,9 @@ class FakeGCMClient : public GCMClient { |
Delegate* delegate) override; |
void Start(StartMode start_mode) override; |
void Stop() override; |
- void Register(const std::string& app_id, |
- const std::vector<std::string>& sender_ids) override; |
- void Unregister(const std::string& app_id) override; |
+ void Register(const linked_ptr<RegistrationInfo>& registration_info) override; |
+ void Unregister( |
+ const linked_ptr<RegistrationInfo>& registration_info) override; |
void Send(const std::string& app_id, |
const std::string& receiver_id, |
const OutgoingMessage& message) override; |
@@ -82,9 +82,11 @@ class FakeGCMClient : public GCMClient { |
// Called on IO thread. |
void DoStart(); |
void Started(); |
- void RegisterFinished(const std::string& app_id, |
- const std::string& registrion_id); |
- void UnregisterFinished(const std::string& app_id); |
+ void RegisterFinished( |
+ const linked_ptr<RegistrationInfo>& registration_info, |
+ const std::string& registrion_id); |
+ void UnregisterFinished( |
+ const linked_ptr<RegistrationInfo>& registration_info); |
void SendFinished(const std::string& app_id, const OutgoingMessage& message); |
void MessageReceived(const std::string& app_id, |
const IncomingMessage& message); |