| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "base/string16.h" | 17 #include "base/string16.h" |
| 18 #include "base/task.h" | 18 #include "base/task.h" |
| 19 #include "base/time.h" | 19 #include "base/time.h" |
| 20 #include "base/timer.h" | 20 #include "base/timer.h" |
| 21 #include "base/tracked.h" | 21 #include "base/tracked.h" |
| 22 #include "chrome/browser/prefs/pref_member.h" | 22 #include "chrome/browser/prefs/pref_member.h" |
| 23 #include "chrome/browser/sync/engine/model_safe_worker.h" | 23 #include "chrome/browser/sync/engine/model_safe_worker.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/sync_backend_host.h" | 25 #include "chrome/browser/sync/glue/sync_backend_host.h" |
| 26 #include "chrome/browser/sync/internal_api/sync_manager.h" |
| 26 #include "chrome/browser/sync/profile_sync_service_observer.h" | 27 #include "chrome/browser/sync/profile_sync_service_observer.h" |
| 28 #include "chrome/browser/sync/syncable/model_type.h" |
| 27 #include "chrome/browser/sync/sync_js_controller.h" | 29 #include "chrome/browser/sync/sync_js_controller.h" |
| 28 #include "chrome/browser/sync/sync_setup_wizard.h" | 30 #include "chrome/browser/sync/sync_setup_wizard.h" |
| 29 #include "chrome/browser/sync/syncable/model_type.h" | |
| 30 #include "chrome/browser/sync/unrecoverable_error_handler.h" | 31 #include "chrome/browser/sync/unrecoverable_error_handler.h" |
| 31 #include "chrome/common/net/gaia/google_service_auth_error.h" | 32 #include "chrome/common/net/gaia/google_service_auth_error.h" |
| 32 #include "content/common/content_notification_types.h" | 33 #include "content/common/content_notification_types.h" |
| 33 #include "content/common/notification_observer.h" | 34 #include "content/common/notification_observer.h" |
| 34 #include "content/common/notification_registrar.h" | 35 #include "content/common/notification_registrar.h" |
| 35 #include "googleurl/src/gurl.h" | 36 #include "googleurl/src/gurl.h" |
| 36 | 37 |
| 37 class NotificationDetails; | 38 class NotificationDetails; |
| 38 class NotificationSource; | 39 class NotificationSource; |
| 39 class Profile; | 40 class Profile; |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 // and cached until the syncer either finishes encryption | 649 // and cached until the syncer either finishes encryption |
| 649 // (OnEncryptionComplete) or the user cancels. | 650 // (OnEncryptionComplete) or the user cancels. |
| 650 syncable::ModelTypeSet pending_types_for_encryption_; | 651 syncable::ModelTypeSet pending_types_for_encryption_; |
| 651 | 652 |
| 652 scoped_ptr<browser_sync::BackendMigrator> migrator_; | 653 scoped_ptr<browser_sync::BackendMigrator> migrator_; |
| 653 | 654 |
| 654 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 655 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
| 655 }; | 656 }; |
| 656 | 657 |
| 657 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 658 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
| OLD | NEW |