#include "components/gcm_driver/fake_gcm_app_handler.h"
#include <memory>
#include "base/run_loop.h"
namespace gcm {
FakeGCMAppHandler::FakeGCMAppHandler() : … { … }
FakeGCMAppHandler::~FakeGCMAppHandler() = default;
void FakeGCMAppHandler::WaitForNotification() { … }
void FakeGCMAppHandler::ShutdownHandler() { … }
void FakeGCMAppHandler::OnStoreReset() { … }
void FakeGCMAppHandler::OnMessage(const std::string& app_id,
const IncomingMessage& message) { … }
void FakeGCMAppHandler::OnMessagesDeleted(const std::string& app_id) { … }
void FakeGCMAppHandler::OnSendError(
const std::string& app_id,
const GCMClient::SendErrorDetails& send_error_details) { … }
void FakeGCMAppHandler::OnSendAcknowledged(
const std::string& app_id,
const std::string& message_id) { … }
void FakeGCMAppHandler::OnMessageDecryptionFailed(
const std::string& app_id,
const std::string& message_id,
const std::string& error_message) { … }
void FakeGCMAppHandler::ClearResults() { … }
}