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 ModelTypeSet ConfigureDataTypes( | 46 void ConfigureDataTypes(ConfigureParams params) override; |
47 ConfigureReason reason, | |
48 const DataTypeConfigStateMap& config_state_map, | |
49 const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task, | |
50 const base::Callback<void()>& retry_callback) override; | |
51 | 47 |
52 void EnableEncryptEverything() override; | 48 void EnableEncryptEverything() override; |
53 | 49 |
54 void ActivateDirectoryDataType(ModelType type, | 50 void ActivateDirectoryDataType(ModelType type, |
55 ModelSafeGroup group, | 51 ModelSafeGroup group, |
56 ChangeProcessor* change_processor) override; | 52 ChangeProcessor* change_processor) override; |
57 void DeactivateDirectoryDataType(ModelType type) override; | 53 void DeactivateDirectoryDataType(ModelType type) override; |
58 | 54 |
59 void ActivateNonBlockingDataType(ModelType type, | 55 void ActivateNonBlockingDataType(ModelType type, |
60 std::unique_ptr<ActivationContext>) override; | 56 std::unique_ptr<ActivationContext>) override; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 91 |
96 void set_fail_initial_download(bool should_fail); | 92 void set_fail_initial_download(bool should_fail); |
97 | 93 |
98 private: | 94 private: |
99 bool fail_initial_download_; | 95 bool fail_initial_download_; |
100 }; | 96 }; |
101 | 97 |
102 } // namespace syncer | 98 } // namespace syncer |
103 | 99 |
104 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ | 100 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ |
OLD | NEW |