Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: chrome/browser/sync/glue/autofill_data_type_controller.cc

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
« no previous file with comments | « chrome/browser/sync/glue/autofill_data_type_controller.h ('k') | chrome/browser/sync/glue/autofill_profile_model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698