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

Unified Diff: components/autofill/browser/wallet/wallet_client.h

Issue 12893007: Implementing VERIFY_CVV required action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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/browser/wallet/wallet_client.h
diff --git a/components/autofill/browser/wallet/wallet_client.h b/components/autofill/browser/wallet/wallet_client.h
index 1fa291f798850268dcacf2e6b3b9af1f6b3db1af..da8f2fdc645b80bb47c4fc6795304ab22fc9832c 100644
--- a/components/autofill/browser/wallet/wallet_client.h
+++ b/components/autofill/browser/wallet/wallet_client.h
@@ -130,7 +130,7 @@ class WalletClient
};
// |context_getter| is reference counted so it has no lifetime or ownership
- // requirements. |observer| must outlive |this|.
+ // requirements. |delegate| must outlive |this|.
WalletClient(net::URLRequestContextGetter* context_getter,
WalletClientDelegate* delegate);
@@ -154,11 +154,12 @@ class WalletClient
// Authenticates that |card_verification_number| is for the backing instrument
// with |instrument_id|. |obfuscated_gaia_id| is used as a key when escrowing
- // |card_verification_number|. |observer| is notified when the request is
+ // |card_verification_number|. |delegate_| is notified when the request is
// complete. Used to respond to Risk challenges.
- void AuthenticateInstrument(const std::string& instrument_id,
- const std::string& card_verification_number,
- const std::string& obfuscated_gaia_id);
+ virtual void AuthenticateInstrument(
+ const std::string& instrument_id,
+ const std::string& card_verification_number,
+ const std::string& obfuscated_gaia_id);
// GetFullWallet retrieves the a FullWallet for the user.
virtual void GetFullWallet(const FullWalletRequest& full_wallet_request);
@@ -228,7 +229,7 @@ class WalletClient
const std::string& google_transaction_id,
const GURL& source_url);
- // Posts |post_body| to |url| and notifies |observer| when the request is
+ // Posts |post_body| to |url| and notifies |delegate_| when the request is
// complete.
void MakeWalletRequest(const GURL& url, const std::string& post_body);

Powered by Google App Engine
This is Rietveld 408576698