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