| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/engine/fake_sync_engine.h" | 5 #include "components/sync/engine/fake_sync_engine.h" |
| 6 | 6 |
| 7 #include "components/sync/engine/activation_context.h" | 7 #include "components/sync/engine/activation_context.h" |
| 8 #include "components/sync/engine/sync_engine_host.h" | 8 #include "components/sync/engine/sync_engine_host.h" |
| 9 | 9 |
| 10 namespace syncer { | 10 namespace syncer { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 bool is_explicit) {} | 30 bool is_explicit) {} |
| 31 | 31 |
| 32 bool FakeSyncEngine::SetDecryptionPassphrase(const std::string& passphrase) { | 32 bool FakeSyncEngine::SetDecryptionPassphrase(const std::string& passphrase) { |
| 33 return false; | 33 return false; |
| 34 } | 34 } |
| 35 | 35 |
| 36 void FakeSyncEngine::StopSyncingForShutdown() {} | 36 void FakeSyncEngine::StopSyncingForShutdown() {} |
| 37 | 37 |
| 38 void FakeSyncEngine::Shutdown(ShutdownReason reason) {} | 38 void FakeSyncEngine::Shutdown(ShutdownReason reason) {} |
| 39 | 39 |
| 40 void FakeSyncEngine::UnregisterInvalidationIds() {} | |
| 41 | |
| 42 ModelTypeSet FakeSyncEngine::ConfigureDataTypes( | 40 ModelTypeSet FakeSyncEngine::ConfigureDataTypes( |
| 43 ConfigureReason reason, | 41 ConfigureReason reason, |
| 44 const DataTypeConfigStateMap& config_state_map, | 42 const DataTypeConfigStateMap& config_state_map, |
| 45 const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task, | 43 const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task, |
| 46 const base::Callback<void()>& retry_callback) { | 44 const base::Callback<void()>& retry_callback) { |
| 47 return ModelTypeSet(); | 45 return ModelTypeSet(); |
| 48 } | 46 } |
| 49 | 47 |
| 50 void FakeSyncEngine::EnableEncryptEverything() {} | 48 void FakeSyncEngine::EnableEncryptEverything() {} |
| 51 | 49 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 111 |
| 114 void FakeSyncEngine::ClearServerData( | 112 void FakeSyncEngine::ClearServerData( |
| 115 const SyncManager::ClearServerDataCallback& callback) { | 113 const SyncManager::ClearServerDataCallback& callback) { |
| 116 callback.Run(); | 114 callback.Run(); |
| 117 } | 115 } |
| 118 | 116 |
| 119 void FakeSyncEngine::OnCookieJarChanged(bool account_mismatch, bool empty_jar) { | 117 void FakeSyncEngine::OnCookieJarChanged(bool account_mismatch, bool empty_jar) { |
| 120 } | 118 } |
| 121 | 119 |
| 122 } // namespace syncer | 120 } // namespace syncer |
| OLD | NEW |