| 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 #ifndef COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ |
| 6 #define COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ | 6 #define COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 void SetEncryptionPassphrase(const std::string& passphrase, | 37 void SetEncryptionPassphrase(const std::string& passphrase, |
| 38 bool is_explicit) override; | 38 bool is_explicit) override; |
| 39 | 39 |
| 40 bool SetDecryptionPassphrase(const std::string& passphrase) override; | 40 bool SetDecryptionPassphrase(const std::string& passphrase) override; |
| 41 | 41 |
| 42 void StopSyncingForShutdown() override; | 42 void StopSyncingForShutdown() override; |
| 43 | 43 |
| 44 void Shutdown(ShutdownReason reason) override; | 44 void Shutdown(ShutdownReason reason) override; |
| 45 | 45 |
| 46 void UnregisterInvalidationIds() override; | |
| 47 | |
| 48 ModelTypeSet ConfigureDataTypes( | 46 ModelTypeSet ConfigureDataTypes( |
| 49 ConfigureReason reason, | 47 ConfigureReason reason, |
| 50 const DataTypeConfigStateMap& config_state_map, | 48 const DataTypeConfigStateMap& config_state_map, |
| 51 const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task, | 49 const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task, |
| 52 const base::Callback<void()>& retry_callback) override; | 50 const base::Callback<void()>& retry_callback) override; |
| 53 | 51 |
| 54 void EnableEncryptEverything() override; | 52 void EnableEncryptEverything() override; |
| 55 | 53 |
| 56 void ActivateDirectoryDataType(ModelType type, | 54 void ActivateDirectoryDataType(ModelType type, |
| 57 ModelSafeGroup group, | 55 ModelSafeGroup group, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 95 |
| 98 void set_fail_initial_download(bool should_fail); | 96 void set_fail_initial_download(bool should_fail); |
| 99 | 97 |
| 100 private: | 98 private: |
| 101 bool fail_initial_download_; | 99 bool fail_initial_download_; |
| 102 }; | 100 }; |
| 103 | 101 |
| 104 } // namespace syncer | 102 } // namespace syncer |
| 105 | 103 |
| 106 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ | 104 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ |
| OLD | NEW |