123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- // Copyright 2014 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #include "google_apis/gcm/monitoring/fake_gcm_stats_recorder.h"
- namespace gcm {
- FakeGCMStatsRecorder::FakeGCMStatsRecorder() {
- }
- FakeGCMStatsRecorder::~FakeGCMStatsRecorder() {
- }
- void FakeGCMStatsRecorder::RecordCheckinInitiated(uint64_t android_id) {}
- void FakeGCMStatsRecorder::RecordCheckinDelayedDueToBackoff(
- int64_t delay_msec) {}
- void FakeGCMStatsRecorder::RecordCheckinSuccess() {
- }
- void FakeGCMStatsRecorder::RecordCheckinFailure(const std::string& status,
- bool will_retry) {}
- void FakeGCMStatsRecorder::RecordConnectionInitiated(const std::string& host) {
- }
- void FakeGCMStatsRecorder::RecordConnectionDelayedDueToBackoff(
- int64_t delay_msec) {}
- void FakeGCMStatsRecorder::RecordConnectionSuccess() {
- }
- void FakeGCMStatsRecorder::RecordConnectionFailure(int network_error) {
- }
- void FakeGCMStatsRecorder::RecordConnectionResetSignaled(
- ConnectionFactory::ConnectionResetReason reason) {
- }
- void FakeGCMStatsRecorder::RecordRegistrationSent(
- const std::string& app_id,
- const std::string& source) {
- }
- void FakeGCMStatsRecorder::RecordRegistrationResponse(
- const std::string& app_id,
- const std::string& source,
- RegistrationRequest::Status status) {
- }
- void FakeGCMStatsRecorder::RecordRegistrationRetryDelayed(
- const std::string& app_id,
- const std::string& source,
- int64_t delay_msec,
- int retries_left) {}
- void FakeGCMStatsRecorder::RecordDataMessageReceived(
- const std::string& app_id,
- const std::string& from,
- int message_byte_size,
- ReceivedMessageType message_type) {}
- void FakeGCMStatsRecorder::RecordUnregistrationSent(
- const std::string& app_id, const std::string& source) {
- }
- void FakeGCMStatsRecorder::RecordUnregistrationResponse(
- const std::string& app_id,
- const std::string& source,
- UnregistrationRequest::Status status) {
- }
- void FakeGCMStatsRecorder::RecordUnregistrationRetryDelayed(
- const std::string& app_id,
- const std::string& source,
- int64_t delay_msec,
- int retries_left) {}
- void FakeGCMStatsRecorder::RecordDataSentToWire(
- const std::string& app_id,
- const std::string& receiver_id,
- const std::string& message_id,
- int queued) {
- }
- void FakeGCMStatsRecorder::RecordNotifySendStatus(
- const std::string& app_id,
- const std::string& receiver_id,
- const std::string& message_id,
- gcm::MCSClient::MessageSendStatus status,
- int byte_size,
- int ttl) {
- }
- void FakeGCMStatsRecorder::RecordIncomingSendError(
- const std::string& app_id,
- const std::string& receiver_id,
- const std::string& message_id) {
- }
- } // namespace gcm
|