[email protected] | e4097c8 | 2013-11-08 00:16:12 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
[email protected] | cd57f37 | 2014-06-09 17:13:06 | [diff] [blame^] | 5 | #include "components/gcm_driver/gcm_client.h" |
[email protected] | e4097c8 | 2013-11-08 00:16:12 | [diff] [blame] | 6 | |
[email protected] | e4097c8 | 2013-11-08 00:16:12 | [diff] [blame] | 7 | namespace gcm { |
8 | |||||
[email protected] | 8ad8051 | 2014-05-23 09:40:47 | [diff] [blame] | 9 | GCMClient::ChromeBuildInfo::ChromeBuildInfo() |
10 | : platform(PLATFORM_UNKNOWN), | ||||
11 | channel(CHANNEL_UNKNOWN) { | ||||
12 | } | ||||
13 | |||||
14 | GCMClient::ChromeBuildInfo::~ChromeBuildInfo() { | ||||
15 | } | ||||
16 | |||||
[email protected] | e4097c8 | 2013-11-08 00:16:12 | [diff] [blame] | 17 | GCMClient::OutgoingMessage::OutgoingMessage() |
[email protected] | b20aece2 | 2014-05-09 22:34:08 | [diff] [blame] | 18 | : time_to_live(kMaximumTTL) { |
[email protected] | e4097c8 | 2013-11-08 00:16:12 | [diff] [blame] | 19 | } |
20 | |||||
21 | GCMClient::OutgoingMessage::~OutgoingMessage() { | ||||
22 | } | ||||
23 | |||||
24 | GCMClient::IncomingMessage::IncomingMessage() { | ||||
25 | } | ||||
26 | |||||
27 | GCMClient::IncomingMessage::~IncomingMessage() { | ||||
28 | } | ||||
29 | |||||
[email protected] | c6fe36b | 2014-03-11 10:58:12 | [diff] [blame] | 30 | GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {} |
31 | |||||
32 | GCMClient::SendErrorDetails::~SendErrorDetails() {} | ||||
33 | |||||
[email protected] | 3560181 | 2014-03-07 19:52:43 | [diff] [blame] | 34 | GCMClient::GCMStatistics::GCMStatistics() |
[email protected] | 436bcb8 | 2014-04-18 00:40:57 | [diff] [blame] | 35 | : is_recording(false), |
36 | gcm_client_created(false), | ||||
37 | connection_client_created(false), | ||||
38 | android_id(0), | ||||
39 | send_queue_size(0), | ||||
40 | resend_queue_size(0) { | ||||
[email protected] | 3560181 | 2014-03-07 19:52:43 | [diff] [blame] | 41 | } |
42 | |||||
43 | GCMClient::GCMStatistics::~GCMStatistics() { | ||||
44 | } | ||||
45 | |||||
[email protected] | 0db11822 | 2014-01-22 01:37:59 | [diff] [blame] | 46 | GCMClient::GCMClient() { |
[email protected] | e4097c8 | 2013-11-08 00:16:12 | [diff] [blame] | 47 | } |
48 | |||||
[email protected] | 0db11822 | 2014-01-22 01:37:59 | [diff] [blame] | 49 | GCMClient::~GCMClient() { |
[email protected] | e4097c8 | 2013-11-08 00:16:12 | [diff] [blame] | 50 | } |
51 | |||||
52 | } // namespace gcm |