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

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

Issue 1137463003: Support getting and deleting token for Instance ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch to land Created 5 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
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_client.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 "components/gcm_driver/fake_gcm_driver.h" 5 #include "components/gcm_driver/fake_gcm_driver.h"
6 6
7 namespace gcm { 7 namespace gcm {
8 8
9 FakeGCMDriver::FakeGCMDriver() { 9 FakeGCMDriver::FakeGCMDriver() {
10 } 10 }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 base::Time FakeGCMDriver::GetLastTokenFetchTime() { 91 base::Time FakeGCMDriver::GetLastTokenFetchTime() {
92 return base::Time(); 92 return base::Time();
93 } 93 }
94 94
95 void FakeGCMDriver::SetLastTokenFetchTime(const base::Time& time) { 95 void FakeGCMDriver::SetLastTokenFetchTime(const base::Time& time) {
96 } 96 }
97 97
98 void FakeGCMDriver::WakeFromSuspendForHeartbeat(bool wake) { 98 void FakeGCMDriver::WakeFromSuspendForHeartbeat(bool wake) {
99 } 99 }
100 100
101 InstanceIDStore* FakeGCMDriver::GetInstanceIDStore() { 101 InstanceIDHandler* FakeGCMDriver::GetInstanceIDHandler() {
102 return NULL; 102 return NULL;
103 } 103 }
104 104
105 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, 105 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope,
106 int interval_ms) { 106 int interval_ms) {
107 } 107 }
108 108
109 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { 109 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) {
110 } 110 }
111 111
112 } // namespace gcm 112 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698