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

Unified Diff: components/autofill/content/browser/wallet/wallet_client_delegate.h

Issue 17970003: New encryption/escrow endpoints for Wallet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No !! Created 7 years, 6 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/content/browser/wallet/wallet_client_delegate.h
diff --git a/components/autofill/content/browser/wallet/wallet_client_delegate.h b/components/autofill/content/browser/wallet/wallet_client_delegate.h
index e21ff1daec0488da29e55f33f897b809edb0657e..b3df946a447290339aa37c0d143fae6937529380 100644
--- a/components/autofill/content/browser/wallet/wallet_client_delegate.h
+++ b/components/autofill/content/browser/wallet/wallet_client_delegate.h
@@ -57,55 +57,17 @@ class WalletClientDelegate {
// transferred to implementer of this interface.
virtual void OnDidGetWalletItems(scoped_ptr<WalletItems> wallet_items) = 0;
- // Called when a SaveAddress request finishes successfully. |address_id| can
- // be used in subsequent GetFullWallet calls. |required_actions| is populated
- // if there was a validation error with the data being saved.
- // |form_field_errors| is populated with the actual form fields that are
- // failing validation.
- virtual void OnDidSaveAddress(
- const std::string& address_id,
- const std::vector<RequiredAction>& required_actions,
- const std::vector<FormFieldError>& form_field_errors) = 0;
-
- // Called when a SaveInstrument request finishes sucessfully. |instrument_id|
- // can be used in subsequent GetFullWallet calls. |required_actions| is
- // populated if there was a validation error with the data being saved.
- // |form_field_errors| is populated with the actual form fields that are
- // failing validation.
- virtual void OnDidSaveInstrument(
- const std::string& instrument_id,
- const std::vector<RequiredAction>& required_actions,
- const std::vector<FormFieldError>& form_field_errors) = 0;
-
- // Called when a SaveInstrumentAndAddress request finishes succesfully.
+ // Called when a SaveToWallet request finishes succesfully.
// |instrument_id| and |address_id| can be used in subsequent
// GetFullWallet calls. |required_actions| is populated if there was a
// validation error with the data being saved. |form_field_errors| is
// populated with the actual form fields that are failing validation.
- virtual void OnDidSaveInstrumentAndAddress(
+ virtual void OnDidSaveToWallet(
const std::string& instrument_id,
const std::string& address_id,
const std::vector<RequiredAction>& required_actions,
const std::vector<FormFieldError>& form_field_errors) = 0;
- // Called when an UpdateAddress request finishes successfully.
- // |required_actions| is populated if there was a validation error with the
- // data being saved. |form_field_errors| is populated with the actual form
- // fields that are failing validation.
- virtual void OnDidUpdateAddress(
- const std::string& address_id,
- const std::vector<RequiredAction>& required_actions,
- const std::vector<FormFieldError>& form_field_errors) = 0;
-
- // Called when an UpdateInstrument request finishes successfully.
- // |required_actions| is populated if there was a validation error with the
- // data being saved. |form_field_errors| is populated with the actual form
- // fields that are failing validation.
- virtual void OnDidUpdateInstrument(
- const std::string& instrument_id,
- const std::vector<RequiredAction>& required_actions,
- const std::vector<FormFieldError>& form_field_errors) = 0;
-
// Called when a request fails.
virtual void OnWalletError(WalletClient::ErrorType error_type) = 0;

Powered by Google App Engine
This is Rietveld 408576698