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 CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
19 #include "base/string16.h" | 19 #include "base/string16.h" |
20 #include "base/time.h" | 20 #include "base/time.h" |
21 #include "base/timer.h" | 21 #include "base/timer.h" |
22 #include "chrome/browser/profiles/profile_keyed_service.h" | 22 #include "chrome/browser/profiles/profile_keyed_service.h" |
23 #include "chrome/browser/sync/backend_unrecoverable_error_handler.h" | 23 #include "chrome/browser/sync/backend_unrecoverable_error_handler.h" |
24 #include "chrome/browser/sync/engine/model_safe_worker.h" | |
25 #include "chrome/browser/sync/failed_datatypes_handler.h" | 24 #include "chrome/browser/sync/failed_datatypes_handler.h" |
26 #include "chrome/browser/sync/glue/data_type_controller.h" | 25 #include "chrome/browser/sync/glue/data_type_controller.h" |
27 #include "chrome/browser/sync/glue/data_type_manager.h" | 26 #include "chrome/browser/sync/glue/data_type_manager.h" |
28 #include "chrome/browser/sync/glue/sync_backend_host.h" | 27 #include "chrome/browser/sync/glue/sync_backend_host.h" |
29 #include "chrome/browser/sync/internal_api/includes/unrecoverable_error_handler.
h" | |
30 #include "chrome/browser/sync/internal_api/sync_manager.h" | 28 #include "chrome/browser/sync/internal_api/sync_manager.h" |
31 #include "chrome/browser/sync/profile_sync_service_observer.h" | 29 #include "chrome/browser/sync/profile_sync_service_observer.h" |
32 #include "chrome/browser/sync/syncable/model_type.h" | |
33 #include "chrome/browser/sync/sync_js_controller.h" | |
34 #include "chrome/browser/sync/sync_prefs.h" | 30 #include "chrome/browser/sync/sync_prefs.h" |
35 #include "chrome/browser/sync/sync_setup_wizard.h" | 31 #include "chrome/browser/sync/sync_setup_wizard.h" |
36 #include "chrome/common/net/gaia/google_service_auth_error.h" | 32 #include "chrome/common/net/gaia/google_service_auth_error.h" |
37 #include "content/public/browser/notification_observer.h" | 33 #include "content/public/browser/notification_observer.h" |
38 #include "content/public/browser/notification_registrar.h" | 34 #include "content/public/browser/notification_registrar.h" |
39 #include "content/public/browser/notification_types.h" | 35 #include "content/public/browser/notification_types.h" |
40 #include "googleurl/src/gurl.h" | 36 #include "googleurl/src/gurl.h" |
| 37 #include "sync/engine/model_safe_worker.h" |
| 38 #include "sync/js/sync_js_controller.h" |
| 39 #include "sync/syncable/model_type.h" |
| 40 #include "sync/util/unrecoverable_error_handler.h" |
41 | 41 |
42 class Profile; | 42 class Profile; |
43 class ProfileSyncComponentsFactory; | 43 class ProfileSyncComponentsFactory; |
44 class SigninManager; | 44 class SigninManager; |
45 class SyncGlobalError; | 45 class SyncGlobalError; |
46 | 46 |
47 namespace browser_sync { | 47 namespace browser_sync { |
48 class BackendMigrator; | 48 class BackendMigrator; |
49 class ChangeProcessor; | 49 class ChangeProcessor; |
50 class DataTypeManager; | 50 class DataTypeManager; |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 browser_sync::DataTypeManager::ConfigureStatus configure_status_; | 744 browser_sync::DataTypeManager::ConfigureStatus configure_status_; |
745 | 745 |
746 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 746 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
747 }; | 747 }; |
748 | 748 |
749 bool ShouldShowActionOnUI( | 749 bool ShouldShowActionOnUI( |
750 const browser_sync::SyncProtocolError& error); | 750 const browser_sync::SyncProtocolError& error); |
751 | 751 |
752 | 752 |
753 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 753 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |