| 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 4c869fd584b37c10f89b107b3b6cfdffda56160e..5a435f17ffeb2c226c64775d99397e344b77af69 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| @@ -205,27 +205,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;
|
|
|
| @@ -484,11 +468,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();
|
|
|
| @@ -496,10 +475,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(
|
|
|