namespace browser_sync {
// A class that manages the startup and shutdown of password sync.
-class PasswordDataTypeController : public NonUIDataTypeController {
+class PasswordDataTypeController : public sync_driver::NonUIDataTypeController {
public:
PasswordDataTypeController(
ProfileSyncComponentsFactory* profile_sync_factory,
- Profile* profile,
- const DisableTypeCallback& disable_callback);
+ Profile* profile);
// NonFrontendDataTypeController implementation
- virtual syncer::ModelType type() const OVERRIDE;
- virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE;
+ syncer::ModelType type() const override;
+ syncer::ModelSafeGroup model_safe_group() const override;
protected:
- virtual ~PasswordDataTypeController();
+ ~PasswordDataTypeController() override;
// NonUIDataTypeController interface.
- virtual bool PostTaskOnBackendThread(
- const tracked_objects::Location& from_here,
- const base::Closure& task) OVERRIDE;
- virtual bool StartModels() OVERRIDE;
+ bool PostTaskOnBackendThread(const tracked_objects::Location& from_here,
+ const base::Closure& task) override;
+ bool StartModels() override;
private:
Profile* const profile_;