Index: chrome/browser/sync/glue/autofill_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/autofill_data_type_controller.cc b/chrome/browser/sync/glue/autofill_data_type_controller.cc |
index 63c9e267096c061097ae09f4359b50df2107fd06..6a827c9ef9407558346963e44afff67b4b10e09c 100644 |
--- a/chrome/browser/sync/glue/autofill_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/autofill_data_type_controller.cc |
@@ -148,6 +148,28 @@ void AutofillDataTypeController::Stop() { |
} |
} |
+bool AutofillDataTypeController::enabled() { |
+ return true; |
+} |
+ |
+syncable::ModelType AutofillDataTypeController::type() { |
+ return syncable::AUTOFILL; |
+} |
+ |
+browser_sync::ModelSafeGroup AutofillDataTypeController::model_safe_group() { |
+ return browser_sync::GROUP_DB; |
+} |
+ |
+const char* AutofillDataTypeController::name() const { |
+ // For logging only. |
+ return "autofill"; |
+} |
+ |
+DataTypeController::State AutofillDataTypeController::state() { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ return state_; |
+} |
+ |
void AutofillDataTypeController::StartImpl() { |
VLOG(1) << "Autofill data type controller StartImpl called."; |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); |