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 7 namespace gcm { 8 ChromeBuildInfo()9GCMClient::ChromeBuildInfo::ChromeBuildInfo() 10 : platform(PLATFORM_UNSPECIFIED), channel(CHANNEL_UNKNOWN) {} 11 12 GCMClient::ChromeBuildInfo::~ChromeBuildInfo() = default; 13 SendErrorDetails()14GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {} 15 16 GCMClient::SendErrorDetails::SendErrorDetails(const SendErrorDetails& other) = 17 default; 18 19 GCMClient::SendErrorDetails::~SendErrorDetails() = default; 20 GCMStatistics()21GCMClient::GCMStatistics::GCMStatistics() 22 : is_recording(false), 23 gcm_client_created(false), 24 connection_client_created(false), 25 android_id(0u), 26 android_secret(0u), 27 send_queue_size(0), 28 resend_queue_size(0) {} 29 30 GCMClient::GCMStatistics::GCMStatistics(const GCMStatistics& other) = default; 31 32 GCMClient::GCMStatistics::~GCMStatistics() = default; 33 34 GCMClient::GCMClient() = default; 35 36 GCMClient::~GCMClient() = default; 37 38 } // namespace gcm 39