| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| index 88a1c018b3a2721d032afbee8761669cd0b3482b..91314601390ec96c4899bec96af9ef3854cb505e 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| @@ -212,27 +212,11 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
|
| scoped_ptr<wallet::FullWallet> full_wallet) OVERRIDE;
|
| virtual void OnDidGetWalletItems(
|
| scoped_ptr<wallet::WalletItems> wallet_items) OVERRIDE;
|
| - virtual void OnDidSaveAddress(
|
| - const std::string& address_id,
|
| - const std::vector<wallet::RequiredAction>& required_actions,
|
| - const std::vector<wallet::FormFieldError>& form_field_errors) OVERRIDE;
|
| - virtual void OnDidSaveInstrument(
|
| + virtual void OnDidSaveToWallet(
|
| const std::string& instrument_id,
|
| - const std::vector<wallet::RequiredAction>& required_actions,
|
| - const std::vector<wallet::FormFieldError>& form_field_errors) OVERRIDE;
|
| - virtual void OnDidSaveInstrumentAndAddress(
|
| - const std::string& instrument_id,
|
| - const std::string& address_id,
|
| - const std::vector<wallet::RequiredAction>& required_actions,
|
| - const std::vector<wallet::FormFieldError>& form_field_errors) OVERRIDE;
|
| - virtual void OnDidUpdateAddress(
|
| const std::string& address_id,
|
| const std::vector<wallet::RequiredAction>& required_actions,
|
| const std::vector<wallet::FormFieldError>& form_field_errors) OVERRIDE;
|
| - virtual void OnDidUpdateInstrument(
|
| - const std::string& instrument_id,
|
| - const std::vector<wallet::RequiredAction>& required_actions,
|
| - const std::vector<wallet::FormFieldError>& form_field_errors) OVERRIDE;
|
| virtual void OnWalletError(
|
| wallet::WalletClient::ErrorType error_type) OVERRIDE;
|
|
|
| @@ -498,11 +482,6 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
|
| // Creates an instrument based on |views_|' contents.
|
| scoped_ptr<wallet::Instrument> CreateTransientInstrument();
|
|
|
| - // Creates an update request based on |instrument|. May return NULL.
|
| - scoped_ptr<wallet::WalletClient::UpdateInstrumentRequest>
|
| - CreateUpdateInstrumentRequest(const wallet::Instrument* instrument,
|
| - const std::string& instrument_id);
|
| -
|
| // Creates an address based on the contents of |view_|.
|
| scoped_ptr<wallet::Address> CreateTransientAddress();
|
|
|
| @@ -510,10 +489,6 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
|
| // This information is decoded to reveal a fronting (proxy) card.
|
| void GetFullWallet();
|
|
|
| - // Calls |GetFullWallet()| if the required members (|risk_data_|,
|
| - // |active_instrument_id_|, and |active_address_id_|) are populated.
|
| - void GetFullWalletIfReady();
|
| -
|
| // Updates the state of the controller and |view_| based on any required
|
| // actions returned by Save or Update calls to Wallet.
|
| void HandleSaveOrUpdateRequiredActions(
|
|
|