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

Side by Side Diff: google_apis/gcm/engine/gcm_store.cc

Issue 207443002: [GCM] Move registration info persistence from extension state store to GCM store (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land Created 6 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 | Annotate | Revision Log
« no previous file with comments | « google_apis/gcm/engine/gcm_store.h ('k') | google_apis/gcm/engine/gcm_store_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/engine/gcm_store.h" 5 #include "google_apis/gcm/engine/gcm_store.h"
6 6
7 namespace gcm { 7 namespace gcm {
8 8
9 GCMStore::SerialNumberMappings::SerialNumberMappings()
10 : next_serial_number(1LL) {
11 }
12
13 GCMStore::SerialNumberMappings::~SerialNumberMappings() {
14 }
15
16 GCMStore::LoadResult::LoadResult() 9 GCMStore::LoadResult::LoadResult()
17 : success(false), 10 : success(false),
18 device_android_id(0), 11 device_android_id(0),
19 device_security_token(0) { 12 device_security_token(0) {
20 } 13 }
21 14
22 GCMStore::LoadResult::~LoadResult() {} 15 GCMStore::LoadResult::~LoadResult() {}
23 16
24 GCMStore::GCMStore() {} 17 GCMStore::GCMStore() {}
25 18
26 GCMStore::~GCMStore() {} 19 GCMStore::~GCMStore() {}
27 20
28 } // namespace gcm 21 } // namespace gcm
OLDNEW
« no previous file with comments | « google_apis/gcm/engine/gcm_store.h ('k') | google_apis/gcm/engine/gcm_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698