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

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: Wallet client respects delegates shipping preference. 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..8de95046e5f148db35fe1b983933c9be211f1e18 100644
--- a/components/autofill/content/browser/wallet/wallet_client_delegate.h
+++ b/components/autofill/content/browser/wallet/wallet_client_delegate.h
@@ -43,6 +43,9 @@ class WalletClientDelegate {
// Wallet.
virtual std::string GetWalletCookieValue() const = 0;
+ // Whether or not shipping address is required by the delegate.
+ virtual bool IsShippingAddressRequired() const = 0;
+
// --------------------------------------------------------------------------
// Callbacks called with responses from the Online Wallet backend.
// --------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698