| 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_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 void ActivateNonBlockingDataType( | 79 void ActivateNonBlockingDataType( |
| 80 syncer::ModelType type, | 80 syncer::ModelType type, |
| 81 std::unique_ptr<syncer_v2::ActivationContext>) override; | 81 std::unique_ptr<syncer_v2::ActivationContext>) override; |
| 82 void DeactivateNonBlockingDataType(syncer::ModelType type) override; | 82 void DeactivateNonBlockingDataType(syncer::ModelType type) override; |
| 83 | 83 |
| 84 syncer::UserShare* GetUserShare() const override; | 84 syncer::UserShare* GetUserShare() const override; |
| 85 | 85 |
| 86 Status GetDetailedStatus() override; | 86 Status GetDetailedStatus() override; |
| 87 | 87 |
| 88 syncer::sessions::SyncSessionSnapshot GetLastSessionSnapshot() const override; | 88 syncer::SyncCycleSnapshot GetLastCycleSnapshot() const override; |
| 89 | 89 |
| 90 bool HasUnsyncedItems() const override; | 90 bool HasUnsyncedItems() const override; |
| 91 | 91 |
| 92 bool IsNigoriEnabled() const override; | 92 bool IsNigoriEnabled() const override; |
| 93 | 93 |
| 94 syncer::PassphraseType GetPassphraseType() const override; | 94 syncer::PassphraseType GetPassphraseType() const override; |
| 95 | 95 |
| 96 base::Time GetExplicitPassphraseTime() const override; | 96 base::Time GetExplicitPassphraseTime() const override; |
| 97 | 97 |
| 98 bool IsCryptographerReady( | 98 bool IsCryptographerReady( |
| (...skipping 26 matching lines...) Expand all Loading... |
| 125 | 125 |
| 126 void set_fail_initial_download(bool should_fail); | 126 void set_fail_initial_download(bool should_fail); |
| 127 | 127 |
| 128 private: | 128 private: |
| 129 bool fail_initial_download_; | 129 bool fail_initial_download_; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace browser_sync | 132 } // namespace browser_sync |
| 133 | 133 |
| 134 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 134 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
| OLD | NEW |