Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: components/gcm_driver/gcm_client.cc

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/gcm_driver/gcm_client.h" 5 #include "components/gcm_driver/gcm_client.h"
6 6
7 namespace gcm { 7 namespace gcm {
8 8
9 GCMClient::ChromeBuildInfo::ChromeBuildInfo() 9 GCMClient::ChromeBuildInfo::ChromeBuildInfo()
10 : platform(PLATFORM_UNKNOWN), 10 : platform(PLATFORM_UNKNOWN),
11 channel(CHANNEL_UNKNOWN) { 11 channel(CHANNEL_UNKNOWN) {
12 } 12 }
13 13
14 GCMClient::ChromeBuildInfo::~ChromeBuildInfo() { 14 GCMClient::ChromeBuildInfo::~ChromeBuildInfo() {
15 } 15 }
16 16
17 GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {} 17 GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {}
18 18
19 GCMClient::SendErrorDetails::SendErrorDetails(const SendErrorDetails& other) =
20 default;
21
19 GCMClient::SendErrorDetails::~SendErrorDetails() {} 22 GCMClient::SendErrorDetails::~SendErrorDetails() {}
20 23
21 GCMClient::GCMStatistics::GCMStatistics() 24 GCMClient::GCMStatistics::GCMStatistics()
22 : is_recording(false), 25 : is_recording(false),
23 gcm_client_created(false), 26 gcm_client_created(false),
24 connection_client_created(false), 27 connection_client_created(false),
25 android_id(0), 28 android_id(0),
26 send_queue_size(0), 29 send_queue_size(0),
27 resend_queue_size(0) { 30 resend_queue_size(0) {
28 } 31 }
29 32
33 GCMClient::GCMStatistics::GCMStatistics(const GCMStatistics& other) = default;
34
30 GCMClient::GCMStatistics::~GCMStatistics() { 35 GCMClient::GCMStatistics::~GCMStatistics() {
31 } 36 }
32 37
33 GCMClient::GCMClient() { 38 GCMClient::GCMClient() {
34 } 39 }
35 40
36 GCMClient::~GCMClient() { 41 GCMClient::~GCMClient() {
37 } 42 }
38 43
39 } // namespace gcm 44 } // namespace gcm
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698