[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] | c6fe36b | 2014-03-11 10:58:12 | [diff] [blame] | 17 | GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {} |
18 | |||||
19 | GCMClient::SendErrorDetails::~SendErrorDetails() {} | ||||
20 | |||||
[email protected] | 3560181 | 2014-03-07 19:52:43 | [diff] [blame] | 21 | GCMClient::GCMStatistics::GCMStatistics() |
[email protected] | 436bcb8 | 2014-04-18 00:40:57 | [diff] [blame] | 22 | : is_recording(false), |
23 | gcm_client_created(false), | ||||
24 | connection_client_created(false), | ||||
25 | android_id(0), | ||||
26 | send_queue_size(0), | ||||
27 | resend_queue_size(0) { | ||||
[email protected] | 3560181 | 2014-03-07 19:52:43 | [diff] [blame] | 28 | } |
29 | |||||
30 | GCMClient::GCMStatistics::~GCMStatistics() { | ||||
31 | } | ||||
32 | |||||
[email protected] | 0db11822 | 2014-01-22 01:37:59 | [diff] [blame] | 33 | GCMClient::GCMClient() { |
[email protected] | e4097c8 | 2013-11-08 00:16:12 | [diff] [blame] | 34 | } |
35 | |||||
[email protected] | 0db11822 | 2014-01-22 01:37:59 | [diff] [blame] | 36 | GCMClient::~GCMClient() { |
[email protected] | e4097c8 | 2013-11-08 00:16:12 | [diff] [blame] | 37 | } |
38 | |||||
39 | } // namespace gcm |