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/failed_datatypes_handler.h" | 24 #include "chrome/browser/sync/failed_datatypes_handler.h" |
25 #include "chrome/browser/sync/glue/data_type_controller.h" | 25 #include "chrome/browser/sync/glue/data_type_controller.h" |
26 #include "chrome/browser/sync/glue/data_type_manager.h" | 26 #include "chrome/browser/sync/glue/data_type_manager.h" |
27 #include "chrome/browser/sync/glue/sync_backend_host.h" | 27 #include "chrome/browser/sync/glue/sync_backend_host.h" |
28 #include "chrome/browser/sync/internal_api/sync_manager.h" | |
29 #include "chrome/browser/sync/profile_sync_service_observer.h" | 28 #include "chrome/browser/sync/profile_sync_service_observer.h" |
30 #include "chrome/browser/sync/sync_prefs.h" | 29 #include "chrome/browser/sync/sync_prefs.h" |
31 #include "chrome/common/net/gaia/google_service_auth_error.h" | 30 #include "chrome/common/net/gaia/google_service_auth_error.h" |
32 #include "content/public/browser/notification_observer.h" | 31 #include "content/public/browser/notification_observer.h" |
33 #include "content/public/browser/notification_registrar.h" | 32 #include "content/public/browser/notification_registrar.h" |
34 #include "content/public/browser/notification_types.h" | 33 #include "content/public/browser/notification_types.h" |
35 #include "googleurl/src/gurl.h" | 34 #include "googleurl/src/gurl.h" |
36 #include "sync/engine/model_safe_worker.h" | 35 #include "sync/engine/model_safe_worker.h" |
36 #include "sync/internal_api/sync_manager.h" | |
tim (not reviewing)
2012/04/20 21:09:12
Do we actually need this in here?
akalin
2012/04/20 21:55:57
Removed (also in .cc file)
| |
37 #include "sync/js/sync_js_controller.h" | 37 #include "sync/js/sync_js_controller.h" |
38 #include "sync/syncable/model_type.h" | 38 #include "sync/syncable/model_type.h" |
39 #include "sync/util/unrecoverable_error_handler.h" | 39 #include "sync/util/unrecoverable_error_handler.h" |
40 | 40 |
41 class Profile; | 41 class Profile; |
42 class ProfileSyncComponentsFactory; | 42 class ProfileSyncComponentsFactory; |
43 class SigninManager; | 43 class SigninManager; |
44 class SyncGlobalError; | 44 class SyncGlobalError; |
45 | 45 |
46 namespace browser_sync { | 46 namespace browser_sync { |
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
743 bool setup_in_progress_; | 743 bool setup_in_progress_; |
744 | 744 |
745 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 745 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
746 }; | 746 }; |
747 | 747 |
748 bool ShouldShowActionOnUI( | 748 bool ShouldShowActionOnUI( |
749 const browser_sync::SyncProtocolError& error); | 749 const browser_sync::SyncProtocolError& error); |
750 | 750 |
751 | 751 |
752 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 752 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |