This source file includes following definitions.
- ShutdownHandler
- OnMessage
- OnMessagesDeleted
- OnSendError
#include "chrome/browser/services/gcm/default_gcm_app_handler.h"
#include "base/logging.h"
namespace gcm {
DefaultGCMAppHandler::DefaultGCMAppHandler() {
}
DefaultGCMAppHandler::~DefaultGCMAppHandler() {
}
void DefaultGCMAppHandler::ShutdownHandler() {
}
void DefaultGCMAppHandler::OnMessage(
const std::string& app_id,
const GCMClient::IncomingMessage& message) {
LOG(ERROR) << "No app handler is found to route message for " << app_id;
}
void DefaultGCMAppHandler::OnMessagesDeleted(const std::string& app_id) {
LOG(ERROR) << "No app handler is found to route deleted message for "
<< app_id;
}
void DefaultGCMAppHandler::OnSendError(
const std::string& app_id,
const GCMClient::SendErrorDetails& send_error_details) {
LOG(ERROR) << "No app handler is found to route send error message for "
<< app_id;
}
}