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..de69120cd132a068ffa477d85b598ff478a6df33 |
| --- /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, |
|
tim (not reviewing)
2010/12/15 20:11:42
nit - too many spaces.
lipalani
2010/12/15 21:28:15
Done.
|
| + 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 |
| + |