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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 void FlushDirectory() const override; | 75 void FlushDirectory() const override; |
76 | 76 |
77 void RequestBufferedProtocolEventsAndEnableForwarding() override; | 77 void RequestBufferedProtocolEventsAndEnableForwarding() override; |
78 void DisableProtocolEventForwarding() override; | 78 void DisableProtocolEventForwarding() override; |
79 | 79 |
80 void EnableDirectoryTypeDebugInfoForwarding() override; | 80 void EnableDirectoryTypeDebugInfoForwarding() override; |
81 void DisableDirectoryTypeDebugInfoForwarding() override; | 81 void DisableDirectoryTypeDebugInfoForwarding() override; |
82 | 82 |
83 void RefreshTypesForTest(ModelTypeSet types) override; | 83 void RefreshTypesForTest(ModelTypeSet types) override; |
84 | 84 |
85 void ClearServerData( | 85 void ClearServerData(const base::Closure& callback) override; |
86 const SyncManager::ClearServerDataCallback& callback) override; | |
87 | 86 |
88 void OnCookieJarChanged(bool account_mismatch, | 87 void OnCookieJarChanged(bool account_mismatch, |
89 bool empty_jar, | 88 bool empty_jar, |
90 const base::Closure& callback) override; | 89 const base::Closure& callback) override; |
91 | 90 |
92 void set_fail_initial_download(bool should_fail); | 91 void set_fail_initial_download(bool should_fail); |
93 | 92 |
94 private: | 93 private: |
95 bool fail_initial_download_; | 94 bool fail_initial_download_; |
96 }; | 95 }; |
97 | 96 |
98 } // namespace syncer | 97 } // namespace syncer |
99 | 98 |
100 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ | 99 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ |
OLD | NEW |