OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/sync_driver/fake_sync_service.h" | 5 #include "components/sync_driver/fake_sync_service.h" |
6 | 6 |
7 namespace sync_driver { | 7 namespace sync_driver { |
8 | 8 |
9 FakeSyncService::FakeSyncService() : error_(GoogleServiceAuthError::NONE) { | 9 FakeSyncService::FakeSyncService() : error_(GoogleServiceAuthError::NONE) { |
10 } | 10 } |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 void FakeSyncService::RemoveObserver( | 34 void FakeSyncService::RemoveObserver( |
35 sync_driver::SyncServiceObserver* observer) { | 35 sync_driver::SyncServiceObserver* observer) { |
36 } | 36 } |
37 | 37 |
38 bool FakeSyncService::HasObserver( | 38 bool FakeSyncService::HasObserver( |
39 const sync_driver::SyncServiceObserver* observer) const { | 39 const sync_driver::SyncServiceObserver* observer) const { |
40 return false; | 40 return false; |
41 } | 41 } |
42 | 42 |
43 bool FakeSyncService::IsSyncEnabledAndLoggedIn() { | 43 bool FakeSyncService::CanSyncStart() const { |
44 return false; | 44 return false; |
45 } | 45 } |
46 | 46 |
47 void FakeSyncService::DisableForUser() { | 47 void FakeSyncService::DisableForUser() { |
48 } | 48 } |
49 | 49 |
50 void FakeSyncService::RequestStop() { | 50 void FakeSyncService::RequestStop() { |
51 } | 51 } |
52 | 52 |
53 void FakeSyncService::RequestStart() { | 53 void FakeSyncService::RequestStart() { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 bool FakeSyncService::IsPassphraseRequired() const { | 117 bool FakeSyncService::IsPassphraseRequired() const { |
118 return false; | 118 return false; |
119 } | 119 } |
120 | 120 |
121 syncer::ModelTypeSet FakeSyncService::GetEncryptedDataTypes() const { | 121 syncer::ModelTypeSet FakeSyncService::GetEncryptedDataTypes() const { |
122 return syncer::ModelTypeSet(); | 122 return syncer::ModelTypeSet(); |
123 } | 123 } |
124 | 124 |
125 } // namespace sync_driver | 125 } // namespace sync_driver |
OLD | NEW |