summaryrefslogtreecommitdiffstats
path: root/google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc
blob: 5ed8a1df49c86d3437626785f5f0afc905cf2d92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// 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 android_id) {
}

void FakeGCMStatsRecorder::RecordCheckinDelayedDueToBackoff(int64 delay_msec) {
}

void FakeGCMStatsRecorder::RecordCheckinSuccess() {
}

void FakeGCMStatsRecorder::RecordCheckinFailure(std::string status,
                                            bool will_retry) {
}

void FakeGCMStatsRecorder::RecordConnectionInitiated(const std::string& host) {
}

void FakeGCMStatsRecorder::RecordConnectionDelayedDueToBackoff(
    int64 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& sender_ids) {
}

void FakeGCMStatsRecorder::RecordRegistrationResponse(
    const std::string& app_id,
    const std::vector<std::string>& sender_ids,
    RegistrationRequest::Status status) {
}

void FakeGCMStatsRecorder::RecordRegistrationRetryRequested(
    const std::string& app_id,
    const std::vector<std::string>& sender_ids,
    int retries_left) {
}

void FakeGCMStatsRecorder::RecordUnregistrationSent(
    const std::string& app_id) {
}

void FakeGCMStatsRecorder::RecordUnregistrationResponse(
    const std::string& app_id,
    UnregistrationRequest::Status status) {
}

void FakeGCMStatsRecorder::RecordUnregistrationRetryDelayed(
    const std::string& app_id,
    int64 delay_msec) {
}

void FakeGCMStatsRecorder::RecordDataMessageReceived(
    const std::string& app_id,
    const std::string& from,
    int message_byte_size,
    bool to_registered_app,
    ReceivedMessageType message_type) {
}

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