OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "google_apis/gcm/gcm_client.h" | 5 #include "google_apis/gcm/gcm_client.h" |
6 | 6 |
7 namespace gcm { | 7 namespace gcm { |
8 | 8 |
9 GCMClient::OutgoingMessage::OutgoingMessage() | 9 GCMClient::OutgoingMessage::OutgoingMessage() |
10 : time_to_live(0) { | 10 : time_to_live(0) { |
11 } | 11 } |
12 | 12 |
13 GCMClient::OutgoingMessage::~OutgoingMessage() { | 13 GCMClient::OutgoingMessage::~OutgoingMessage() { |
14 } | 14 } |
15 | 15 |
16 GCMClient::IncomingMessage::IncomingMessage() { | 16 GCMClient::IncomingMessage::IncomingMessage() { |
17 } | 17 } |
18 | 18 |
19 GCMClient::IncomingMessage::~IncomingMessage() { | 19 GCMClient::IncomingMessage::~IncomingMessage() { |
20 } | 20 } |
21 | 21 |
22 GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {} | 22 GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {} |
23 | 23 |
24 GCMClient::SendErrorDetails::~SendErrorDetails() {} | 24 GCMClient::SendErrorDetails::~SendErrorDetails() {} |
25 | 25 |
26 GCMClient::GCMStatistics::GCMStatistics() | 26 GCMClient::GCMStatistics::GCMStatistics() |
27 : gcm_client_created(false), connection_client_created(false) { | 27 : is_recording(false), |
| 28 gcm_client_created(false), |
| 29 connection_client_created(false), |
| 30 android_id(0), |
| 31 send_queue_size(0), |
| 32 unacked_queue_size(0) { |
28 } | 33 } |
29 | 34 |
30 GCMClient::GCMStatistics::~GCMStatistics() { | 35 GCMClient::GCMStatistics::~GCMStatistics() { |
31 } | 36 } |
32 | 37 |
33 GCMClient::GCMClient() { | 38 GCMClient::GCMClient() { |
34 } | 39 } |
35 | 40 |
36 GCMClient::~GCMClient() { | 41 GCMClient::~GCMClient() { |
37 } | 42 } |
38 | 43 |
39 } // namespace gcm | 44 } // namespace gcm |
OLD | NEW |