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

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

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mobile specific infobar delegate. Created 4 years, 11 months 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 f6c2278177e3fbd9615e53510a5fd9f70d038ffb..ec87028c476a3619ad0515ecb549a3dd025272f1 100644
--- a/components/autofill/core/browser/test_autofill_client.cc
+++ b/components/autofill/core/browser/test_autofill_client.cc
@@ -14,6 +14,7 @@ TestAutofillClient::TestAutofillClient()
rappor_service_(new rappor::TestRapporService()),
is_context_secure_(true) {
}
+
TestAutofillClient::~TestAutofillClient() {
}
@@ -48,14 +49,18 @@ void TestAutofillClient::ShowUnmaskPrompt(
base::WeakPtr<CardUnmaskDelegate> delegate) {
}
-void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) {}
+void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) {
+}
void TestAutofillClient::ConfirmSaveCreditCardLocally(
- const base::Closure& callback) {}
+ const CreditCard& card,
+ const base::Closure& callback) {
+}
void TestAutofillClient::ConfirmSaveCreditCardToCloud(
- const base::Closure& callback,
- scoped_ptr<base::DictionaryValue> legal_message) {
+ const CreditCard& card,
+ scoped_ptr<base::DictionaryValue> legal_message,
+ const base::Closure& callback) {
callback.Run();
}
@@ -113,4 +118,5 @@ void TestAutofillClient::OnFirstUserGestureObserved() {
bool TestAutofillClient::IsContextSecure(const GURL& form_origin) {
return is_context_secure_;
}
+
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698