| Index: chrome/browser/sync/glue/preference_data_type_controller.cc
|
| diff --git a/chrome/browser/sync/glue/preference_data_type_controller.cc b/chrome/browser/sync/glue/preference_data_type_controller.cc
|
| index f714ed155893032e3f195e1c1114e2d6893757f5..d5c09cf90ff4ea049cb02189f972404d056fe736 100644
|
| --- a/chrome/browser/sync/glue/preference_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/preference_data_type_controller.cc
|
| @@ -86,6 +86,27 @@ void PreferenceDataTypeController::Stop() {
|
| state_ = NOT_RUNNING;
|
| }
|
|
|
| +bool PreferenceDataTypeController::enabled() {
|
| + return true;
|
| +}
|
| +
|
| +syncable::ModelType PreferenceDataTypeController::type() {
|
| + return syncable::PREFERENCES;
|
| +}
|
| +
|
| +browser_sync::ModelSafeGroup PreferenceDataTypeController::model_safe_group() {
|
| + return browser_sync::GROUP_UI;
|
| +}
|
| +
|
| +const char* PreferenceDataTypeController::name() const {
|
| + // For logging only.
|
| + return "preference";
|
| +}
|
| +
|
| +DataTypeController::State PreferenceDataTypeController::state() {
|
| + return state_;
|
| +}
|
| +
|
| void PreferenceDataTypeController::OnUnrecoverableError(
|
| const tracked_objects::Location& from_here,
|
| const std::string& message) {
|
|
|