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

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

Issue 240583002: Revert 264313 "Add activity recording capability to gcm internal..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 | « trunk/src/google_apis/gcm/gcm_client.h ('k') | trunk/src/google_apis/gcm/gcm_client_impl.h » ('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() 9 GCMClient::OutgoingMessage::OutgoingMessage()
10 : time_to_live(0) { 10 : time_to_live(0) {
11 } 11 }
12 12
13 GCMClient::OutgoingMessage::~OutgoingMessage() { 13 GCMClient::OutgoingMessage::~OutgoingMessage() {
14 } 14 }
15 15
16 GCMClient::IncomingMessage::IncomingMessage() { 16 GCMClient::IncomingMessage::IncomingMessage() {
17 } 17 }
18 18
19 GCMClient::IncomingMessage::~IncomingMessage() { 19 GCMClient::IncomingMessage::~IncomingMessage() {
20 } 20 }
21 21
22 GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {} 22 GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {}
23 23
24 GCMClient::SendErrorDetails::~SendErrorDetails() {} 24 GCMClient::SendErrorDetails::~SendErrorDetails() {}
25 25
26 GCMClient::GCMStatistics::GCMStatistics() 26 GCMClient::GCMStatistics::GCMStatistics()
27 : is_recording(false), 27 : gcm_client_created(false), connection_client_created(false) {
28 gcm_client_created(false),
29 connection_client_created(false),
30 android_id(0),
31 send_queue_size(0),
32 resend_queue_size(0) {
33 } 28 }
34 29
35 GCMClient::GCMStatistics::~GCMStatistics() { 30 GCMClient::GCMStatistics::~GCMStatistics() {
36 } 31 }
37 32
38 GCMClient::GCMClient() { 33 GCMClient::GCMClient() {
39 } 34 }
40 35
41 GCMClient::~GCMClient() { 36 GCMClient::~GCMClient() {
42 } 37 }
43 38
44 } // namespace gcm 39 } // namespace gcm
OLDNEW
« no previous file with comments | « trunk/src/google_apis/gcm/gcm_client.h ('k') | trunk/src/google_apis/gcm/gcm_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698