| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SYNC_SERVICE_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_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/location.h" | 12 #include "base/location.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "components/sync/base/model_type.h" | 16 #include "components/sync/base/model_type.h" |
| 17 #include "components/sync/core/connection_status.h" | 17 #include "components/sync/core/connection_status.h" |
| 18 #include "components/sync_driver/data_type_encryption_handler.h" | 18 #include "components/sync/driver/data_type_encryption_handler.h" |
| 19 #include "components/sync_driver/sync_service_observer.h" | 19 #include "components/sync/driver/sync_service_observer.h" |
| 20 #include "google_apis/gaia/google_service_auth_error.h" | 20 #include "google_apis/gaia/google_service_auth_error.h" |
| 21 | 21 |
| 22 class GoogleServiceAuthError; | 22 class GoogleServiceAuthError; |
| 23 | 23 |
| 24 namespace browser_sync { | 24 namespace browser_sync { |
| 25 class ProtocolEventObserver; | 25 class ProtocolEventObserver; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace syncer { | 28 namespace syncer { |
| 29 | 29 |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 protected: | 342 protected: |
| 343 SyncService() {} | 343 SyncService() {} |
| 344 | 344 |
| 345 private: | 345 private: |
| 346 DISALLOW_COPY_AND_ASSIGN(SyncService); | 346 DISALLOW_COPY_AND_ASSIGN(SyncService); |
| 347 }; | 347 }; |
| 348 | 348 |
| 349 } // namespace sync_driver | 349 } // namespace sync_driver |
| 350 | 350 |
| 351 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_ | 351 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_H_ |
| OLD | NEW |