| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 void DeactivateDirectoryDataType(ModelType type) override; | 53 void DeactivateDirectoryDataType(ModelType type) override; |
| 54 | 54 |
| 55 void ActivateNonBlockingDataType(ModelType type, | 55 void ActivateNonBlockingDataType(ModelType type, |
| 56 std::unique_ptr<ActivationContext>) override; | 56 std::unique_ptr<ActivationContext>) override; |
| 57 void DeactivateNonBlockingDataType(ModelType type) override; | 57 void DeactivateNonBlockingDataType(ModelType type) override; |
| 58 | 58 |
| 59 UserShare* GetUserShare() const override; | 59 UserShare* GetUserShare() const override; |
| 60 | 60 |
| 61 Status GetDetailedStatus() override; | 61 Status GetDetailedStatus() override; |
| 62 | 62 |
| 63 SyncCycleSnapshot GetLastCycleSnapshot() const override; | |
| 64 | |
| 65 bool HasUnsyncedItems() const override; | 63 bool HasUnsyncedItems() const override; |
| 66 | 64 |
| 67 bool IsNigoriEnabled() const override; | 65 bool IsNigoriEnabled() const override; |
| 68 | 66 |
| 69 PassphraseType GetPassphraseType() const override; | 67 PassphraseType GetPassphraseType() const override; |
| 70 | 68 |
| 71 base::Time GetExplicitPassphraseTime() const override; | 69 base::Time GetExplicitPassphraseTime() const override; |
| 72 | 70 |
| 73 bool IsCryptographerReady(const BaseTransaction* trans) const override; | 71 bool IsCryptographerReady(const BaseTransaction* trans) const override; |
| 74 | 72 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 91 | 89 |
| 92 void set_fail_initial_download(bool should_fail); | 90 void set_fail_initial_download(bool should_fail); |
| 93 | 91 |
| 94 private: | 92 private: |
| 95 bool fail_initial_download_; | 93 bool fail_initial_download_; |
| 96 }; | 94 }; |
| 97 | 95 |
| 98 } // namespace syncer | 96 } // namespace syncer |
| 99 | 97 |
| 100 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ | 98 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ |
| OLD | NEW |