OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |