| 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 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
| 15 #include "components/sync/base/model_type.h" | 15 #include "components/sync/base/model_type.h" |
| 16 #include "components/sync/base/weak_handle.h" | 16 #include "components/sync/base/weak_handle.h" |
| 17 #include "components/sync/core/configure_reason.h" | |
| 18 #include "components/sync/core/shutdown_reason.h" | |
| 19 #include "components/sync/core/sync_manager.h" | |
| 20 #include "components/sync/core/sync_manager_factory.h" | |
| 21 #include "components/sync/driver/backend_data_type_configurer.h" | 17 #include "components/sync/driver/backend_data_type_configurer.h" |
| 18 #include "components/sync/engine/configure_reason.h" |
| 22 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" | 19 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" |
| 20 #include "components/sync/engine/shutdown_reason.h" |
| 21 #include "components/sync/engine/sync_manager.h" |
| 22 #include "components/sync/engine/sync_manager_factory.h" |
| 23 | 23 |
| 24 class GURL; | 24 class GURL; |
| 25 | 25 |
| 26 namespace base { | 26 namespace base { |
| 27 class MessageLoop; | 27 class MessageLoop; |
| 28 } // namespace base | 28 } // namespace base |
| 29 | 29 |
| 30 namespace syncer { | 30 namespace syncer { |
| 31 | 31 |
| 32 class CancelationSignal; | 32 class CancelationSignal; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 // See SyncManager::OnCookieJarChanged. | 213 // See SyncManager::OnCookieJarChanged. |
| 214 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0; | 214 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0; |
| 215 | 215 |
| 216 private: | 216 private: |
| 217 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); | 217 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); |
| 218 }; | 218 }; |
| 219 | 219 |
| 220 } // namespace syncer | 220 } // namespace syncer |
| 221 | 221 |
| 222 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ | 222 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ |
| OLD | NEW |