| 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 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "chrome/browser/sync/backend_unrecoverable_error_handler.h" | 22 #include "chrome/browser/sync/backend_unrecoverable_error_handler.h" |
| 23 #include "chrome/browser/sync/failed_datatypes_handler.h" | 23 #include "chrome/browser/sync/failed_datatypes_handler.h" |
| 24 #include "chrome/browser/sync/glue/data_type_controller.h" | 24 #include "chrome/browser/sync/glue/data_type_controller.h" |
| 25 #include "chrome/browser/sync/glue/data_type_manager.h" | 25 #include "chrome/browser/sync/glue/data_type_manager.h" |
| 26 #include "chrome/browser/sync/glue/data_type_manager_observer.h" | 26 #include "chrome/browser/sync/glue/data_type_manager_observer.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/invalidation_frontend.h" | 28 #include "chrome/browser/sync/invalidation_frontend.h" |
| 29 #include "chrome/browser/sync/invalidations/invalidator_storage.h" | 29 #include "chrome/browser/sync/invalidations/invalidator_storage.h" |
| 30 #include "chrome/browser/sync/profile_sync_service_observer.h" | 30 #include "chrome/browser/sync/profile_sync_service_observer.h" |
| 31 #include "chrome/browser/sync/sync_prefs.h" | 31 #include "chrome/browser/sync/sync_prefs.h" |
| 32 #include "chrome/common/net/gaia/google_service_auth_error.h" | |
| 33 #include "content/public/browser/notification_observer.h" | 32 #include "content/public/browser/notification_observer.h" |
| 34 #include "content/public/browser/notification_registrar.h" | 33 #include "content/public/browser/notification_registrar.h" |
| 35 #include "content/public/browser/notification_types.h" | 34 #include "content/public/browser/notification_types.h" |
| 35 #include "google_apis/gaia/google_service_auth_error.h" |
| 36 #include "googleurl/src/gurl.h" | 36 #include "googleurl/src/gurl.h" |
| 37 #include "sync/internal_api/public/base/model_type.h" | 37 #include "sync/internal_api/public/base/model_type.h" |
| 38 #include "sync/internal_api/public/engine/model_safe_worker.h" | 38 #include "sync/internal_api/public/engine/model_safe_worker.h" |
| 39 #include "sync/internal_api/public/sync_manager_factory.h" | 39 #include "sync/internal_api/public/sync_manager_factory.h" |
| 40 #include "sync/internal_api/public/util/experiments.h" | 40 #include "sync/internal_api/public/util/experiments.h" |
| 41 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" | 41 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
| 42 #include "sync/js/sync_js_controller.h" | 42 #include "sync/js/sync_js_controller.h" |
| 43 #include "sync/notifier/invalidator_registrar.h" | 43 #include "sync/notifier/invalidator_registrar.h" |
| 44 | 44 |
| 45 class Profile; | 45 class Profile; |
| (...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 syncer::InvalidatorRegistrar invalidator_registrar_; | 894 syncer::InvalidatorRegistrar invalidator_registrar_; |
| 895 | 895 |
| 896 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 896 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
| 897 }; | 897 }; |
| 898 | 898 |
| 899 bool ShouldShowActionOnUI( | 899 bool ShouldShowActionOnUI( |
| 900 const syncer::SyncProtocolError& error); | 900 const syncer::SyncProtocolError& error); |
| 901 | 901 |
| 902 | 902 |
| 903 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 903 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
| OLD | NEW |