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

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

Issue 20420002: Make Wallet respect whether or not shipping address is required. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 675ce0ad592ef9517044bad04ba659f62770bc61..588320bd3874f5e7eef4f3153a0a55d2d8371ca8 100644
--- a/components/autofill/content/browser/wallet/wallet_client_delegate.h
+++ b/components/autofill/content/browser/wallet/wallet_client_delegate.h
@@ -43,6 +43,15 @@ class WalletClientDelegate {
// Wallet.
virtual std::string GetWalletCookieValue() const = 0;
+ // Whether or not shipping address is required by the delegate.
+ virtual bool IsShippingAddressRequired() const = 0;
+
+ // Whether or not the delegate can use minimal addresses.
+ virtual bool IsMinimalAddressAccepted() const = 0;
+
+ // Whether or not phone numbers are required by the delegate.
+ virtual bool IsPhoneNumberRequired() const = 0;
Dan Beam 2013/07/25 19:37:03 ^ are there any real uses of these bottom 2 method
ahutter 2013/07/26 16:03:36 Nope. Removed.
+
// --------------------------------------------------------------------------
// Callbacks called with responses from the Online Wallet backend.
// --------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698