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