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

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

Issue 293053014: Retrieve chrome build info in GCMProfileService, instead of GCMDriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync 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.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::ChromeBuildInfo::ChromeBuildInfo()
10 : platform(PLATFORM_UNKNOWN),
11 channel(CHANNEL_UNKNOWN) {
12 }
13
14 GCMClient::ChromeBuildInfo::~ChromeBuildInfo() {
15 }
16
9 GCMClient::OutgoingMessage::OutgoingMessage() 17 GCMClient::OutgoingMessage::OutgoingMessage()
10 : time_to_live(kMaximumTTL) { 18 : time_to_live(kMaximumTTL) {
11 } 19 }
12 20
13 GCMClient::OutgoingMessage::~OutgoingMessage() { 21 GCMClient::OutgoingMessage::~OutgoingMessage() {
14 } 22 }
15 23
16 GCMClient::IncomingMessage::IncomingMessage() { 24 GCMClient::IncomingMessage::IncomingMessage() {
17 } 25 }
18 26
(...skipping 16 matching lines...) Expand all
35 GCMClient::GCMStatistics::~GCMStatistics() { 43 GCMClient::GCMStatistics::~GCMStatistics() {
36 } 44 }
37 45
38 GCMClient::GCMClient() { 46 GCMClient::GCMClient() {
39 } 47 }
40 48
41 GCMClient::~GCMClient() { 49 GCMClient::~GCMClient() {
42 } 50 }
43 51
44 } // namespace gcm 52 } // namespace gcm
OLDNEW
« no previous file with comments | « google_apis/gcm/gcm_client.h ('k') | google_apis/gcm/gcm_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698