| 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::OnSignedOut() { | 28 void FakeGCMDriver::OnSignedOut() { |
| 29 } | 29 } |
| 30 | 30 |
| 31 void FakeGCMDriver::Purge() { | |
| 32 } | |
| 33 | |
| 34 void FakeGCMDriver::AddConnectionObserver(GCMConnectionObserver* observer) { | 31 void FakeGCMDriver::AddConnectionObserver(GCMConnectionObserver* observer) { |
| 35 } | 32 } |
| 36 | 33 |
| 37 void FakeGCMDriver::RemoveConnectionObserver(GCMConnectionObserver* observer) { | 34 void FakeGCMDriver::RemoveConnectionObserver(GCMConnectionObserver* observer) { |
| 38 } | 35 } |
| 39 | 36 |
| 40 void FakeGCMDriver::Enable() { | 37 void FakeGCMDriver::Enable() { |
| 41 } | 38 } |
| 42 | 39 |
| 43 void FakeGCMDriver::Disable() { | 40 void FakeGCMDriver::Disable() { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 return base::Time(); | 91 return base::Time(); |
| 95 } | 92 } |
| 96 | 93 |
| 97 void FakeGCMDriver::SetLastTokenFetchTime(const base::Time& time) { | 94 void FakeGCMDriver::SetLastTokenFetchTime(const base::Time& time) { |
| 98 } | 95 } |
| 99 | 96 |
| 100 void FakeGCMDriver::WakeFromSuspendForHeartbeat(bool wake) { | 97 void FakeGCMDriver::WakeFromSuspendForHeartbeat(bool wake) { |
| 101 } | 98 } |
| 102 | 99 |
| 103 } // namespace gcm | 100 } // namespace gcm |
| OLD | NEW |