| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 base::Callback<void(const std::vector<syncer::ModelType>& type, | 113 base::Callback<void(const std::vector<syncer::ModelType>& type, |
| 114 ScopedVector<base::ListValue>)> callback) override; | 114 ScopedVector<base::ListValue>)> callback) override; |
| 115 | 115 |
| 116 base::MessageLoop* GetSyncLoopForTesting() override; | 116 base::MessageLoop* GetSyncLoopForTesting() override; |
| 117 | 117 |
| 118 void RefreshTypesForTest(syncer::ModelTypeSet types) override; | 118 void RefreshTypesForTest(syncer::ModelTypeSet types) override; |
| 119 | 119 |
| 120 void ClearServerData( | 120 void ClearServerData( |
| 121 const syncer::SyncManager::ClearServerDataCallback& callback) override; | 121 const syncer::SyncManager::ClearServerDataCallback& callback) override; |
| 122 | 122 |
| 123 void OnCookieJarChanged(bool account_mismatch) override; |
| 124 |
| 123 void set_fail_initial_download(bool should_fail); | 125 void set_fail_initial_download(bool should_fail); |
| 124 | 126 |
| 125 private: | 127 private: |
| 126 bool fail_initial_download_; | 128 bool fail_initial_download_; |
| 127 }; | 129 }; |
| 128 | 130 |
| 129 } // namespace browser_sync | 131 } // namespace browser_sync |
| 130 | 132 |
| 131 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 133 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
| OLD | NEW |