| Index: components/autofill/core/browser/autofill_manager.cc
|
| diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
|
| index c5df186070e32d4ba71c69ed2f797eb8a1260aba..792540a02ad96e70eb19b6dff67c99d7cb0ab9a2 100644
|
| --- a/components/autofill/core/browser/autofill_manager.cc
|
| +++ b/components/autofill/core/browser/autofill_manager.cc
|
| @@ -208,7 +208,7 @@ AutofillManager::AutofillManager(
|
| user_did_accept_upload_prompt_(false),
|
| external_delegate_(NULL),
|
| test_delegate_(NULL),
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) || defined(OS_IOS)
|
| autofill_assistant_(this),
|
| #endif
|
| weak_ptr_factory_(this) {
|
| @@ -1288,7 +1288,7 @@ void AutofillManager::Reset() {
|
| new AutofillMetrics::FormEventLogger(false /* is_for_credit_card */));
|
| credit_card_form_event_logger_.reset(
|
| new AutofillMetrics::FormEventLogger(true /* is_for_credit_card */));
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) || defined(OS_IOS)
|
| autofill_assistant_.Reset();
|
| #endif
|
| has_logged_autofill_enabled_ = false;
|
| @@ -1330,7 +1330,7 @@ AutofillManager::AutofillManager(AutofillDriver* driver,
|
| unmasking_query_id_(-1),
|
| external_delegate_(NULL),
|
| test_delegate_(NULL),
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) || defined(OS_IOS)
|
| autofill_assistant_(this),
|
| #endif
|
| weak_ptr_factory_(this) {
|
| @@ -1781,7 +1781,7 @@ void AutofillManager::ParseForms(const std::vector<FormData>& forms) {
|
| #endif
|
| }
|
|
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) || defined(OS_IOS)
|
| // When a credit card form is parsed and conditions are met, show an infobar
|
| // prompt for credit card assisted filling. Upon accepting the infobar, the
|
| // form will automatically be filled with the user's information through this
|
|
|