template <typename T> class WeakHandle;
}
-namespace browser_sync {
+namespace sync_driver {
class DataTypeController;
class DataTypeEncryptionHandler;
const syncer::DataTypeAssociationStats& association_stats) OVERRIDE;
virtual void OnModelAssociationDone(
const DataTypeManager::ConfigureResult& result) OVERRIDE;
- virtual void OnSingleDataTypeWillStop(syncer::ModelType type) OVERRIDE;
+ virtual void OnSingleDataTypeWillStop(
+ syncer::ModelType type,
+ const syncer::SyncError& error) OVERRIDE;
// Used by unit tests. TODO(sync) : This would go away if we made
// this class be able to do Dependency injection. crbug.com/129212.
friend class TestDataTypeManager;
// Abort configuration and stop all data types due to configuration errors.
- void Abort(ConfigureStatus status,
- const syncer::SyncError& error);
+ void Abort(ConfigureStatus status);
// Returns the priority types (control + priority user types).
// Virtual for overriding during tests.
// For querying failed data types (having unrecoverable error) when
// configuring backend.
- browser_sync::FailedDataTypesHandler* failed_data_types_handler_;
+ FailedDataTypesHandler* failed_data_types_handler_;
// Types waiting to be downloaded.
TypeSetPriorityList download_types_queue_;
// The encryption handler lets the DataTypeManager know the state of sync
// datatype encryption.
- const browser_sync::DataTypeEncryptionHandler* encryption_handler_;
+ const DataTypeEncryptionHandler* encryption_handler_;
// Association and time stats of data type configuration.
std::vector<syncer::DataTypeConfigurationStats> configuration_stats_;
DISALLOW_COPY_AND_ASSIGN(DataTypeManagerImpl);
};
-} // namespace browser_sync
+} // namespace sync_driver
#endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__