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

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

Issue 1785613006: Make GCMDriver::GetInstanceIDHandler protected, to avoid misuse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address peter's nits Created 4 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
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_driver.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 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 8
9 namespace gcm { 9 namespace gcm {
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 base::Time FakeGCMDriver::GetLastTokenFetchTime() { 93 base::Time FakeGCMDriver::GetLastTokenFetchTime() {
94 return base::Time(); 94 return base::Time();
95 } 95 }
96 96
97 void FakeGCMDriver::SetLastTokenFetchTime(const base::Time& time) { 97 void FakeGCMDriver::SetLastTokenFetchTime(const base::Time& time) {
98 } 98 }
99 99
100 void FakeGCMDriver::WakeFromSuspendForHeartbeat(bool wake) { 100 void FakeGCMDriver::WakeFromSuspendForHeartbeat(bool wake) {
101 } 101 }
102 102
103 InstanceIDHandler* FakeGCMDriver::GetInstanceIDHandler() { 103 InstanceIDHandler* FakeGCMDriver::GetInstanceIDHandlerInternal() {
104 return NULL; 104 return NULL;
105 } 105 }
106 106
107 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope, 107 void FakeGCMDriver::AddHeartbeatInterval(const std::string& scope,
108 int interval_ms) { 108 int interval_ms) {
109 } 109 }
110 110
111 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) { 111 void FakeGCMDriver::RemoveHeartbeatInterval(const std::string& scope) {
112 } 112 }
113 113
114 } // namespace gcm 114 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698