Chromium Code Reviews| 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..7f424f107f1c983b30b6e015b916fd35143214db |
| --- /dev/null |
| +++ b/chrome/browser/sync/glue/autofill_profile_data_type_controller.cc |
| @@ -0,0 +1,34 @@ |
| +// 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" |
| + |
| + |
|
tim (not reviewing)
2010/12/13 19:24:33
extra newline
lipalani
2010/12/15 09:08:33
Done.
|
| +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 |
| + |