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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( |
86 const SyncManager::ClearServerDataCallback& callback) override; | 86 const SyncManager::ClearServerDataCallback& callback) override; |
87 | 87 |
88 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override; | 88 void OnCookieJarChanged(bool account_mismatch, |
| 89 bool empty_jar, |
| 90 const base::Closure& callback) override; |
89 | 91 |
90 void set_fail_initial_download(bool should_fail); | 92 void set_fail_initial_download(bool should_fail); |
91 | 93 |
92 private: | 94 private: |
93 bool fail_initial_download_; | 95 bool fail_initial_download_; |
94 }; | 96 }; |
95 | 97 |
96 } // namespace syncer | 98 } // namespace syncer |
97 | 99 |
98 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ | 100 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ |
OLD | NEW |