};
FakeGCMAppHandler();
- virtual ~FakeGCMAppHandler();
+ ~FakeGCMAppHandler() override;
const Event& received_event() const { return received_event_; }
const std::string& app_id() const { return app_id_; }
void WaitForNotification();
// GCMAppHandler implementation.
- virtual void ShutdownHandler() OVERRIDE;
- virtual void OnMessage(const std::string& app_id,
- const GCMClient::IncomingMessage& message) OVERRIDE;
- virtual void OnMessagesDeleted(const std::string& app_id) OVERRIDE;
- virtual void OnSendError(
+ void ShutdownHandler() override;
+ void OnMessage(const std::string& app_id,
+ const GCMClient::IncomingMessage& message) override;
+ void OnMessagesDeleted(const std::string& app_id) override;
+ void OnSendError(
const std::string& app_id,
- const GCMClient::SendErrorDetails& send_error_details) OVERRIDE;
- virtual void OnSendAcknowledged(const std::string& app_id,
- const std::string& message_id) OVERRIDE;
+ const GCMClient::SendErrorDetails& send_error_details) override;
+ void OnSendAcknowledged(const std::string& app_id,
+ const std::string& message_id) override;
private:
void ClearResults();