| 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() | |
| 10 : time_to_live(0) { | |
| 11 } | |
| 12 | |
| 13 GCMClient::OutgoingMessage::~OutgoingMessage() { | |
| 14 } | |
| 15 | |
| 16 GCMClient::IncomingMessage::IncomingMessage() { | |
| 17 } | |
| 18 | |
| 19 GCMClient::IncomingMessage::~IncomingMessage() { | |
| 20 } | |
| 21 | |
| 22 GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {} | |
| 23 | |
| 24 GCMClient::SendErrorDetails::~SendErrorDetails() {} | |
| 25 | |
| 26 GCMClient::GCMStatistics::GCMStatistics() | 9 GCMClient::GCMStatistics::GCMStatistics() |
| 27 : is_recording(false), | 10 : is_recording(false), |
| 28 gcm_client_created(false), | 11 gcm_client_created(false), |
| 29 connection_client_created(false), | 12 connection_client_created(false), |
| 30 android_id(0), | 13 android_id(0), |
| 31 send_queue_size(0), | 14 send_queue_size(0), |
| 32 resend_queue_size(0) { | 15 resend_queue_size(0) { |
| 33 } | 16 } |
| 34 | 17 |
| 35 GCMClient::GCMStatistics::~GCMStatistics() { | 18 GCMClient::GCMStatistics::~GCMStatistics() { |
| 36 } | 19 } |
| 37 | 20 |
| 38 GCMClient::GCMClient() { | 21 GCMClient::GCMClient() { |
| 39 } | 22 } |
| 40 | 23 |
| 41 GCMClient::~GCMClient() { | 24 GCMClient::~GCMClient() { |
| 42 } | 25 } |
| 43 | 26 |
| 44 } // namespace gcm | 27 } // namespace gcm |
| OLD | NEW |