blob: 1208a916b821724189c588e757b56f28c462b830 [file] [log] [blame]
[email protected]e4097c82013-11-08 00:16:121// 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]cd57f372014-06-09 17:13:065#include "components/gcm_driver/gcm_client.h"
[email protected]e4097c82013-11-08 00:16:126
[email protected]e4097c82013-11-08 00:16:127namespace gcm {
8
[email protected]8ad80512014-05-23 09:40:479GCMClient::ChromeBuildInfo::ChromeBuildInfo()
10 : platform(PLATFORM_UNKNOWN),
11 channel(CHANNEL_UNKNOWN) {
12}
13
14GCMClient::ChromeBuildInfo::~ChromeBuildInfo() {
15}
16
[email protected]c6fe36b2014-03-11 10:58:1217GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {}
18
vmpstrb6449d512016-02-25 23:55:4019GCMClient::SendErrorDetails::SendErrorDetails(const SendErrorDetails& other) =
20 default;
21
[email protected]c6fe36b2014-03-11 10:58:1222GCMClient::SendErrorDetails::~SendErrorDetails() {}
23
[email protected]35601812014-03-07 19:52:4324GCMClient::GCMStatistics::GCMStatistics()
[email protected]436bcb82014-04-18 00:40:5725 : 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]35601812014-03-07 19:52:4331}
32
vmpstrb6449d512016-02-25 23:55:4033GCMClient::GCMStatistics::GCMStatistics(const GCMStatistics& other) = default;
34
[email protected]35601812014-03-07 19:52:4335GCMClient::GCMStatistics::~GCMStatistics() {
36}
37
[email protected]0db118222014-01-22 01:37:5938GCMClient::GCMClient() {
[email protected]e4097c82013-11-08 00:16:1239}
40
[email protected]0db118222014-01-22 01:37:5941GCMClient::~GCMClient() {
[email protected]e4097c82013-11-08 00:16:1242}
43
44} // namespace gcm