| Index: components/autofill/core/browser/test_autofill_client.cc
|
| diff --git a/components/autofill/core/browser/test_autofill_client.cc b/components/autofill/core/browser/test_autofill_client.cc
|
| index bb94d05c5b3e74bfa4b09c2bc555d26a3a3d0f6f..4f91047c85c365f6632e42130945a27cd9594e2f 100644
|
| --- a/components/autofill/core/browser/test_autofill_client.cc
|
| +++ b/components/autofill/core/browser/test_autofill_client.cc
|
| @@ -5,6 +5,7 @@
|
| #include "components/autofill/core/browser/test_autofill_client.h"
|
|
|
| #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
|
| +#include "components/infobars/core/infobar_manager.h"
|
|
|
| namespace autofill {
|
|
|
| @@ -14,11 +15,11 @@ TestAutofillClient::~TestAutofillClient() {
|
| }
|
|
|
| PersonalDataManager* TestAutofillClient::GetPersonalDataManager() {
|
| - return NULL;
|
| + return nullptr;
|
| }
|
|
|
| scoped_refptr<AutofillWebDataService> TestAutofillClient::GetDatabase() {
|
| - return scoped_refptr<AutofillWebDataService>(NULL);
|
| + return scoped_refptr<AutofillWebDataService>(nullptr);
|
| }
|
|
|
| PrefService* TestAutofillClient::GetPrefs() {
|
| @@ -34,10 +35,6 @@ void TestAutofillClient::ShowAutofillSettings() {
|
| void TestAutofillClient::ShowUnmaskPrompt() {
|
| }
|
|
|
| -void TestAutofillClient::ConfirmSaveCreditCard(
|
| - const base::Closure& save_card_callback) {
|
| -}
|
| -
|
| bool TestAutofillClient::HasCreditCardScanFeature() {
|
| return false;
|
| }
|
| @@ -84,4 +81,8 @@ void TestAutofillClient::DidFillOrPreviewField(
|
| void TestAutofillClient::OnFirstUserGestureObserved() {
|
| }
|
|
|
| +infobars::InfoBarManager* TestAutofillClient::GetInfoBarManager() {
|
| + return nullptr;
|
| +}
|
| +
|
| } // namespace autofill
|
|
|