blob: a0282802b32730351194bff76af8580e57b40eb1 [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]e4097c82013-11-08 00:16:1217GCMClient::OutgoingMessage::OutgoingMessage()
[email protected]b20aece22014-05-09 22:34:0818 : time_to_live(kMaximumTTL) {
[email protected]e4097c82013-11-08 00:16:1219}
20
21GCMClient::OutgoingMessage::~OutgoingMessage() {
22}
23
24GCMClient::IncomingMessage::IncomingMessage() {
25}
26
27GCMClient::IncomingMessage::~IncomingMessage() {
28}
29
[email protected]c6fe36b2014-03-11 10:58:1230GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {}
31
32GCMClient::SendErrorDetails::~SendErrorDetails() {}
33
[email protected]35601812014-03-07 19:52:4334GCMClient::GCMStatistics::GCMStatistics()
[email protected]436bcb82014-04-18 00:40:5735 : 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]35601812014-03-07 19:52:4341}
42
43GCMClient::GCMStatistics::~GCMStatistics() {
44}
45
[email protected]0db118222014-01-22 01:37:5946GCMClient::GCMClient() {
[email protected]e4097c82013-11-08 00:16:1247}
48
[email protected]0db118222014-01-22 01:37:5949GCMClient::~GCMClient() {
[email protected]e4097c82013-11-08 00:16:1250}
51
52} // namespace gcm