summaryrefslogtreecommitdiff
path: root/chromium/components/gcm_driver/gcm_client.cc
blob: 8b411eb882edc0e63f89a524df0d4356466b01fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/gcm_driver/gcm_client.h"

namespace gcm {

GCMClient::ChromeBuildInfo::ChromeBuildInfo()
    : platform(PLATFORM_UNSPECIFIED), channel(CHANNEL_UNKNOWN) {}

GCMClient::ChromeBuildInfo::~ChromeBuildInfo() = default;

GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {}

GCMClient::SendErrorDetails::SendErrorDetails(const SendErrorDetails& other) =
    default;

GCMClient::SendErrorDetails::~SendErrorDetails() = default;

GCMClient::GCMStatistics::GCMStatistics()
    : is_recording(false),
      gcm_client_created(false),
      connection_client_created(false),
      android_id(0u),
      android_secret(0u),
      send_queue_size(0),
      resend_queue_size(0) {}

GCMClient::GCMStatistics::GCMStatistics(const GCMStatistics& other) = default;

GCMClient::GCMStatistics::~GCMStatistics() = default;

GCMClient::GCMClient() = default;

GCMClient::~GCMClient() = default;

}  // namespace gcm