| 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 f12d82b91b951fb61d2c01f2081d38182a63d173..680b092dd42f7a56b38095ab4a82183cecf2515b 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);
|
| @@ -222,7 +223,7 @@ class WalletClient
|
| UPDATE_INSTRUMENT,
|
| };
|
|
|
| - // 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);
|
|
|
|
|