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

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

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: Edits 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.h
diff --git a/components/autofill/core/browser/test_autofill_client.h b/components/autofill/core/browser/test_autofill_client.h
index 9941c02d5425bc022bee7f1ed5db55d7e21f33b0..8c742f69fe4cd361a4bb26ceb818926e9bd54d93 100644
--- a/components/autofill/core/browser/test_autofill_client.h
+++ b/components/autofill/core/browser/test_autofill_client.h
@@ -36,10 +36,12 @@ class TestAutofillClient : public AutofillClient {
void ShowUnmaskPrompt(const CreditCard& card,
base::WeakPtr<CardUnmaskDelegate> delegate) override;
void OnUnmaskVerificationResult(PaymentsRpcResult result) override;
- void ConfirmSaveCreditCardLocally(const base::Closure& callback) override;
+ void ConfirmSaveCreditCardLocally(const CreditCard& card,
+ const base::Closure& callback) override;
void ConfirmSaveCreditCardToCloud(
- const base::Closure& callback,
- scoped_ptr<base::DictionaryValue> legal_message) override;
+ const CreditCard& card,
+ scoped_ptr<base::DictionaryValue> legal_message,
+ const base::Closure& callback) override;
void LoadRiskData(
const base::Callback<void(const std::string&)>& callback) override;
bool HasCreditCardScanFeature() override;

Powered by Google App Engine
This is Rietveld 408576698