Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1045)

Unified Diff: components/autofill/core/browser/test_autofill_client.cc

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Sylvain's review comments. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698