Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / google_apis / gcm / monitoring / fake_gcm_stats_recorder.cc
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "google_apis/gcm/monitoring/fake_gcm_stats_recorder.h"
6
7 namespace gcm {
8
9 FakeGCMStatsRecorder::FakeGCMStatsRecorder() {
10 }
11
12 FakeGCMStatsRecorder::~FakeGCMStatsRecorder() {
13 }
14
15 void FakeGCMStatsRecorder::RecordCheckinInitiated(uint64 android_id) {
16 }
17
18 void FakeGCMStatsRecorder::RecordCheckinDelayedDueToBackoff(int64 delay_msec) {
19 }
20
21 void FakeGCMStatsRecorder::RecordCheckinSuccess() {
22 }
23
24 void FakeGCMStatsRecorder::RecordCheckinFailure(std::string status,
25                                             bool will_retry) {
26 }
27
28 void FakeGCMStatsRecorder::RecordConnectionInitiated(const std::string& host) {
29 }
30
31 void FakeGCMStatsRecorder::RecordConnectionDelayedDueToBackoff(
32     int64 delay_msec) {
33 }
34
35 void FakeGCMStatsRecorder::RecordConnectionSuccess() {
36 }
37
38 void FakeGCMStatsRecorder::RecordConnectionFailure(int network_error) {
39 }
40
41 void FakeGCMStatsRecorder::RecordConnectionResetSignaled(
42       ConnectionFactory::ConnectionResetReason reason) {
43 }
44
45 void FakeGCMStatsRecorder::RecordRegistrationSent(
46     const std::string& app_id,
47     const std::string& sender_ids) {
48 }
49
50 void FakeGCMStatsRecorder::RecordRegistrationResponse(
51     const std::string& app_id,
52     const std::vector<std::string>& sender_ids,
53     RegistrationRequest::Status status) {
54 }
55
56 void FakeGCMStatsRecorder::RecordRegistrationRetryRequested(
57     const std::string& app_id,
58     const std::vector<std::string>& sender_ids,
59     int retries_left) {
60 }
61
62 void FakeGCMStatsRecorder::RecordUnregistrationSent(
63     const std::string& app_id) {
64 }
65
66 void FakeGCMStatsRecorder::RecordUnregistrationResponse(
67     const std::string& app_id,
68     UnregistrationRequest::Status status) {
69 }
70
71 void FakeGCMStatsRecorder::RecordUnregistrationRetryDelayed(
72     const std::string& app_id,
73     int64 delay_msec) {
74 }
75
76 void FakeGCMStatsRecorder::RecordDataMessageReceived(
77     const std::string& app_id,
78     const std::string& from,
79     int message_byte_size,
80     bool to_registered_app,
81     ReceivedMessageType message_type) {
82 }
83
84 void FakeGCMStatsRecorder::RecordDataSentToWire(
85     const std::string& app_id,
86     const std::string& receiver_id,
87     const std::string& message_id,
88     int queued) {
89 }
90
91 void FakeGCMStatsRecorder::RecordNotifySendStatus(
92     const std::string& app_id,
93     const std::string& receiver_id,
94     const std::string& message_id,
95     gcm::MCSClient::MessageSendStatus status,
96     int byte_size,
97     int ttl) {
98 }
99
100 void FakeGCMStatsRecorder::RecordIncomingSendError(
101     const std::string& app_id,
102     const std::string& receiver_id,
103     const std::string& message_id) {
104 }
105
106
107 }  // namespace gcm