| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ | 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 // Triggers sync cycle to update |types|. | 225 // Triggers sync cycle to update |types|. |
| 226 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0; | 226 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0; |
| 227 | 227 |
| 228 // See SyncManager::ClearServerData. | 228 // See SyncManager::ClearServerData. |
| 229 virtual void ClearServerData( | 229 virtual void ClearServerData( |
| 230 const syncer::SyncManager::ClearServerDataCallback& callback) = 0; | 230 const syncer::SyncManager::ClearServerDataCallback& callback) = 0; |
| 231 | 231 |
| 232 // Notify the syncer that the cookie jar has changed. | 232 // Notify the syncer that the cookie jar has changed. |
| 233 // See SyncManager::OnCookieJarChanged. | 233 // See SyncManager::OnCookieJarChanged. |
| 234 virtual void OnCookieJarChanged(bool account_mismatch) = 0; | 234 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0; |
| 235 | 235 |
| 236 private: | 236 private: |
| 237 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); | 237 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } // namespace browser_sync | 240 } // namespace browser_sync |
| 241 | 241 |
| 242 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ | 242 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ |
| OLD | NEW |