Index: chrome/browser/sync/glue/autofill_profile_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/autofill_profile_data_type_controller.cc b/chrome/browser/sync/glue/autofill_profile_data_type_controller.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..230b680119461bb589e5552988f34c7c50c80776 |
--- /dev/null |
+++ b/chrome/browser/sync/glue/autofill_profile_data_type_controller.cc |
@@ -0,0 +1,33 @@ |
+// Copyright (c) 2020 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/sync/glue/autofill_profile_data_type_controller.h" |
+ |
+#include "chrome/browser/sync/glue/autofill_data_type_controller.h" |
+#include "chrome/browser/sync/profile_sync_factory.h" |
+ |
+namespace browser_sync { |
+ |
+AutofillProfileDataTypeController::AutofillProfileDataTypeController( |
+ ProfileSyncFactory* profile_sync_factory, |
+ Profile* profile, |
+ ProfileSyncService* sync_service) : AutofillDataTypeController( |
+ profile_sync_factory, |
+ profile, |
+ sync_service) {} |
+ |
+ProfileSyncFactory::SyncComponents |
+ AutofillProfileDataTypeController::CreateSyncComponents( |
+ ProfileSyncService* profile_sync_service, |
+ WebDatabase* web_database, |
+ PersonalDataManager* personal_data, |
+ browser_sync::UnrecoverableErrorHandler* error_handler) { |
+ return profile_sync_factory_->CreateAutofillProfileSyncComponents( |
+ profile_sync_service, |
+ web_database, |
+ personal_data, |
+ this); |
+} |
+} // namepsace browser_sync |
+ |