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 100755 |
index 0000000000000000000000000000000000000000..1f1f92425dd1c09c9175b69e73c8472545ee34b0 |
--- /dev/null |
+++ b/chrome/browser/sync/glue/autofill_profile_data_type_controller.cc |
@@ -0,0 +1,35 @@ |
+// 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/profile_sync_factory.h" |
+#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 |