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 } |
11 | 11 |
12 FakeGCMDriver::~FakeGCMDriver() { | 12 FakeGCMDriver::~FakeGCMDriver() { |
13 } | 13 } |
14 | 14 |
15 void FakeGCMDriver::Shutdown() { | 15 void FakeGCMDriver::Shutdown() { |
16 } | 16 } |
17 | 17 |
18 void FakeGCMDriver::AddAppHandler( | 18 void FakeGCMDriver::AddAppHandler( |
19 const std::string& app_id, GCMAppHandler* handler) { | 19 const std::string& app_id, GCMAppHandler* handler) { |
20 } | 20 } |
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() { | |
29 } | |
30 | |
31 void FakeGCMDriver::Purge() { | 28 void FakeGCMDriver::Purge() { |
32 } | 29 } |
33 | 30 |
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() { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 } | 77 } |
81 | 78 |
82 void FakeGCMDriver::UpdateAccountMapping( | 79 void FakeGCMDriver::UpdateAccountMapping( |
83 const AccountMapping& account_mapping) { | 80 const AccountMapping& account_mapping) { |
84 } | 81 } |
85 | 82 |
86 void FakeGCMDriver::RemoveAccountMapping(const std::string& account_id) { | 83 void FakeGCMDriver::RemoveAccountMapping(const std::string& account_id) { |
87 } | 84 } |
88 | 85 |
89 } // namespace gcm | 86 } // namespace gcm |
OLD | NEW |