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

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

Issue 515763002: [GCM] Extracting GCMConnectionObserver from GCMAppHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CR feedback Created 6 years, 3 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_app_handler.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 10 matching lines...) Expand all
21 21
22 void FakeGCMDriver::RemoveAppHandler(const std::string& app_id) { 22 void FakeGCMDriver::RemoveAppHandler(const std::string& app_id) {
23 } 23 }
24 24
25 void FakeGCMDriver::OnSignedIn() { 25 void FakeGCMDriver::OnSignedIn() {
26 } 26 }
27 27
28 void FakeGCMDriver::Purge() { 28 void FakeGCMDriver::Purge() {
29 } 29 }
30 30
31 void FakeGCMDriver::AddConnectionObserver(GCMConnectionObserver* observer) {
32 }
33
34 void FakeGCMDriver::RemoveConnectionObserver(GCMConnectionObserver* observer) {
35 }
36
31 void FakeGCMDriver::Enable() { 37 void FakeGCMDriver::Enable() {
32 } 38 }
33 39
34 void FakeGCMDriver::Disable() { 40 void FakeGCMDriver::Disable() {
35 } 41 }
36 42
37 GCMClient* FakeGCMDriver::GetGCMClientForTesting() const { 43 GCMClient* FakeGCMDriver::GetGCMClientForTesting() const {
38 return NULL; 44 return NULL;
39 } 45 }
40 46
(...skipping 30 matching lines...) Expand all
71 } 77 }
72 78
73 void FakeGCMDriver::UpdateAccountMapping( 79 void FakeGCMDriver::UpdateAccountMapping(
74 const AccountMapping& account_mapping) { 80 const AccountMapping& account_mapping) {
75 } 81 }
76 82
77 void FakeGCMDriver::RemoveAccountMapping(const std::string& account_id) { 83 void FakeGCMDriver::RemoveAccountMapping(const std::string& account_id) {
78 } 84 }
79 85
80 } // namespace gcm 86 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.h ('k') | components/gcm_driver/gcm_app_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698