| 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 |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 void SetAutofillMigrationState( | 389 void SetAutofillMigrationState( |
| 390 syncable::AutofillMigrationState state); | 390 syncable::AutofillMigrationState state); |
| 391 | 391 |
| 392 syncable::AutofillMigrationDebugInfo | 392 syncable::AutofillMigrationDebugInfo |
| 393 GetAutofillMigrationDebugInfo(); | 393 GetAutofillMigrationDebugInfo(); |
| 394 | 394 |
| 395 void SetAutofillMigrationDebugInfo( | 395 void SetAutofillMigrationDebugInfo( |
| 396 syncable::AutofillMigrationDebugInfo::PropertyToSet property_to_set, | 396 syncable::AutofillMigrationDebugInfo::PropertyToSet property_to_set, |
| 397 const syncable::AutofillMigrationDebugInfo& info); | 397 const syncable::AutofillMigrationDebugInfo& info); |
| 398 | 398 |
| 399 // TODO(zea): Remove these and have the dtc's call directly into the SBH. |
| 399 virtual void ActivateDataType( | 400 virtual void ActivateDataType( |
| 400 browser_sync::DataTypeController* data_type_controller, | 401 browser_sync::DataTypeController* data_type_controller, |
| 401 browser_sync::ChangeProcessor* change_processor); | 402 browser_sync::ChangeProcessor* change_processor); |
| 402 virtual void DeactivateDataType( | 403 virtual void DeactivateDataType( |
| 403 browser_sync::DataTypeController* data_type_controller, | 404 browser_sync::DataTypeController* data_type_controller, |
| 404 browser_sync::ChangeProcessor* change_processor); | 405 browser_sync::ChangeProcessor* change_processor); |
| 405 | 406 |
| 406 // NotificationObserver implementation. | 407 // NotificationObserver implementation. |
| 407 virtual void Observe(NotificationType type, | 408 virtual void Observe(NotificationType type, |
| 408 const NotificationSource& source, | 409 const NotificationSource& source, |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 // The set of encrypted types. This is updated whenever datatypes are | 651 // The set of encrypted types. This is updated whenever datatypes are |
| 651 // encrypted through the OnEncryptionComplete callback of SyncFrontend. | 652 // encrypted through the OnEncryptionComplete callback of SyncFrontend. |
| 652 syncable::ModelTypeSet encrypted_types_; | 653 syncable::ModelTypeSet encrypted_types_; |
| 653 | 654 |
| 654 scoped_ptr<browser_sync::BackendMigrator> migrator_; | 655 scoped_ptr<browser_sync::BackendMigrator> migrator_; |
| 655 | 656 |
| 656 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 657 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
| 657 }; | 658 }; |
| 658 | 659 |
| 659 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 660 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
| OLD | NEW |