| Index: chrome/browser/autofill/personal_data_manager.cc
|
| diff --git a/chrome/browser/autofill/personal_data_manager.cc b/chrome/browser/autofill/personal_data_manager.cc
|
| index 254fd0689a41301ae40707a137f62f50f8468ff6..073009ec7264be64cd5b2e560e70b5795fb8fd15 100644
|
| --- a/chrome/browser/autofill/personal_data_manager.cc
|
| +++ b/chrome/browser/autofill/personal_data_manager.cc
|
| @@ -234,6 +234,22 @@ void PersonalDataManager::SaveImportedFormData() {
|
| }
|
| }
|
|
|
| +void PersonalDataManager::GetImportedFormData(AutoFillProfile** profile,
|
| + CreditCard** credit_card) {
|
| + DCHECK(profile);
|
| + DCHECK(credit_card);
|
| +
|
| + if (imported_profile_.get()) {
|
| + imported_profile_->set_label(ASCIIToUTF16(kUnlabeled));
|
| + }
|
| + *profile = imported_profile_.get();
|
| +
|
| + if (imported_credit_card_.get()) {
|
| + imported_credit_card_->set_label(ASCIIToUTF16(kUnlabeled));
|
| + }
|
| + *credit_card = imported_credit_card_.get();
|
| +}
|
| +
|
| void PersonalDataManager::SetProfiles(std::vector<AutoFillProfile>* profiles) {
|
| if (profile_->IsOffTheRecord())
|
| return;
|
|
|