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
5#include "components/gcm_driver/gcm_client.h"
6
7namespace gcm {
8
9GCMClient::ChromeBuildInfo::ChromeBuildInfo()
10    : platform(PLATFORM_UNKNOWN),
11      channel(CHANNEL_UNKNOWN) {
12}
13
14GCMClient::ChromeBuildInfo::~ChromeBuildInfo() {
15}
16
17// static
18const int GCMClient::OutgoingMessage::kMaximumTTL = 24 * 60 * 60;  // 1 day.
19
20GCMClient::OutgoingMessage::OutgoingMessage()
21    : time_to_live(kMaximumTTL) {
22}
23
24GCMClient::OutgoingMessage::~OutgoingMessage() {
25}
26
27GCMClient::IncomingMessage::IncomingMessage() {
28}
29
30GCMClient::IncomingMessage::~IncomingMessage() {
31}
32
33GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {}
34
35GCMClient::SendErrorDetails::~SendErrorDetails() {}
36
37GCMClient::GCMStatistics::GCMStatistics()
38    : is_recording(false),
39      gcm_client_created(false),
40      connection_client_created(false),
41      android_id(0),
42      send_queue_size(0),
43      resend_queue_size(0) {
44}
45
46GCMClient::GCMStatistics::~GCMStatistics() {
47}
48
49GCMClient::GCMClient() {
50}
51
52GCMClient::~GCMClient() {
53}
54
55}  // namespace gcm
56