OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ |
6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ | 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "components/keyed_service/core/keyed_service.h" | 27 #include "components/keyed_service/core/keyed_service.h" |
28 #include "components/signin/core/browser/gaia_cookie_manager_service.h" | 28 #include "components/signin/core/browser/gaia_cookie_manager_service.h" |
29 #include "components/signin/core/browser/signin_manager_base.h" | 29 #include "components/signin/core/browser/signin_manager_base.h" |
30 #include "components/sync/base/experiments.h" | 30 #include "components/sync/base/experiments.h" |
31 #include "components/sync/base/model_type.h" | 31 #include "components/sync/base/model_type.h" |
32 #include "components/sync/base/unrecoverable_error_handler.h" | 32 #include "components/sync/base/unrecoverable_error_handler.h" |
33 #include "components/sync/core/network_time_update_callback.h" | 33 #include "components/sync/core/network_time_update_callback.h" |
34 #include "components/sync/core/shutdown_reason.h" | 34 #include "components/sync/core/shutdown_reason.h" |
35 #include "components/sync/core/sync_manager_factory.h" | 35 #include "components/sync/core/sync_manager_factory.h" |
36 #include "components/sync/core/user_share.h" | 36 #include "components/sync/core/user_share.h" |
| 37 #include "components/sync/driver/data_type_controller.h" |
| 38 #include "components/sync/driver/data_type_manager.h" |
| 39 #include "components/sync/driver/data_type_manager_observer.h" |
| 40 #include "components/sync/driver/data_type_status_table.h" |
| 41 #include "components/sync/driver/glue/sync_backend_host.h" |
| 42 #include "components/sync/driver/local_device_info_provider.h" |
| 43 #include "components/sync/driver/protocol_event_observer.h" |
| 44 #include "components/sync/driver/startup_controller.h" |
| 45 #include "components/sync/driver/sync_client.h" |
| 46 #include "components/sync/driver/sync_frontend.h" |
| 47 #include "components/sync/driver/sync_prefs.h" |
| 48 #include "components/sync/driver/sync_service.h" |
| 49 #include "components/sync/driver/sync_stopped_reporter.h" |
37 #include "components/sync/engine/model_safe_worker.h" | 50 #include "components/sync/engine/model_safe_worker.h" |
38 #include "components/sync/js/sync_js_controller.h" | 51 #include "components/sync/js/sync_js_controller.h" |
39 #include "components/sync_driver/data_type_controller.h" | |
40 #include "components/sync_driver/data_type_manager.h" | |
41 #include "components/sync_driver/data_type_manager_observer.h" | |
42 #include "components/sync_driver/data_type_status_table.h" | |
43 #include "components/sync_driver/glue/sync_backend_host.h" | |
44 #include "components/sync_driver/local_device_info_provider.h" | |
45 #include "components/sync_driver/protocol_event_observer.h" | |
46 #include "components/sync_driver/startup_controller.h" | |
47 #include "components/sync_driver/sync_client.h" | |
48 #include "components/sync_driver/sync_frontend.h" | |
49 #include "components/sync_driver/sync_prefs.h" | |
50 #include "components/sync_driver/sync_service.h" | |
51 #include "components/sync_driver/sync_stopped_reporter.h" | |
52 #include "components/version_info/version_info.h" | 52 #include "components/version_info/version_info.h" |
53 #include "google_apis/gaia/google_service_auth_error.h" | 53 #include "google_apis/gaia/google_service_auth_error.h" |
54 #include "google_apis/gaia/oauth2_token_service.h" | 54 #include "google_apis/gaia/oauth2_token_service.h" |
55 #include "net/base/backoff_entry.h" | 55 #include "net/base/backoff_entry.h" |
56 #include "url/gurl.h" | 56 #include "url/gurl.h" |
57 | 57 |
58 class Profile; | 58 class Profile; |
59 class ProfileOAuth2TokenService; | 59 class ProfileOAuth2TokenService; |
60 class SigninManagerWrapper; | 60 class SigninManagerWrapper; |
61 class SyncErrorController; | 61 class SyncErrorController; |
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 base::WeakPtrFactory<ProfileSyncService> weak_factory_; | 1020 base::WeakPtrFactory<ProfileSyncService> weak_factory_; |
1021 | 1021 |
1022 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 1022 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
1023 }; | 1023 }; |
1024 | 1024 |
1025 bool ShouldShowActionOnUI( | 1025 bool ShouldShowActionOnUI( |
1026 const syncer::SyncProtocolError& error); | 1026 const syncer::SyncProtocolError& error); |
1027 | 1027 |
1028 | 1028 |
1029 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ | 1029 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |