blob: 8a572a0c874dc3591fd173063024a07cecb70c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright 2017 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 "components/autofill/core/browser/test_form_data_importer.h"
#include "build/build_config.h"
namespace autofill {
TestFormDataImporter::TestFormDataImporter(
AutofillClient* client,
payments::PaymentsClient* payments_client,
std::unique_ptr<CreditCardSaveManager> credit_card_save_manager,
PersonalDataManager* personal_data_manager,
const std::string& app_locale,
std::unique_ptr<LocalCardMigrationManager> local_card_migration_manager)
: FormDataImporter(client,
payments_client,
personal_data_manager,
app_locale) {
set_credit_card_save_manager(std::move(credit_card_save_manager));
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
set_local_card_migration_manager(std::move(local_card_migration_manager));
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
}
} // namespace autofill
|