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

Side by Side Diff: google_apis/gcm/gcm_client.cc

Issue 270873002: Extract GCMClient data types into separate gcm_types.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reupload Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « google_apis/gcm/gcm_client.h ('k') | google_apis/gcm/gcm_client_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "google_apis/gcm/gcm_client.h" 5 #include "google_apis/gcm/gcm_client.h"
6 6
7 namespace gcm { 7 namespace gcm {
8 8
9 GCMClient::OutgoingMessage::OutgoingMessage()
10 : time_to_live(0) {
11 }
12
13 GCMClient::OutgoingMessage::~OutgoingMessage() {
14 }
15
16 GCMClient::IncomingMessage::IncomingMessage() {
17 }
18
19 GCMClient::IncomingMessage::~IncomingMessage() {
20 }
21
22 GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {}
23
24 GCMClient::SendErrorDetails::~SendErrorDetails() {}
25
26 GCMClient::GCMStatistics::GCMStatistics() 9 GCMClient::GCMStatistics::GCMStatistics()
27 : is_recording(false), 10 : is_recording(false),
28 gcm_client_created(false), 11 gcm_client_created(false),
29 connection_client_created(false), 12 connection_client_created(false),
30 android_id(0), 13 android_id(0),
31 send_queue_size(0), 14 send_queue_size(0),
32 resend_queue_size(0) { 15 resend_queue_size(0) {
33 } 16 }
34 17
35 GCMClient::GCMStatistics::~GCMStatistics() { 18 GCMClient::GCMStatistics::~GCMStatistics() {
36 } 19 }
37 20
38 GCMClient::GCMClient() { 21 GCMClient::GCMClient() {
39 } 22 }
40 23
41 GCMClient::~GCMClient() { 24 GCMClient::~GCMClient() {
42 } 25 }
43 26
44 } // namespace gcm 27 } // namespace gcm
OLDNEW
« no previous file with comments | « google_apis/gcm/gcm_client.h ('k') | google_apis/gcm/gcm_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698