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

Unified Diff: chrome/browser/ui/views/payments/payment_request_browsertest_base.h

Issue 2849523003: Add billing address as a mandatory field of Payments credit cards. (Closed)
Patch Set: OWNER comments 2 + fixed new tests Created 3 years, 7 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: chrome/browser/ui/views/payments/payment_request_browsertest_base.h
diff --git a/chrome/browser/ui/views/payments/payment_request_browsertest_base.h b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
index 38dc2314a71ac51aabd3435207946981f4fedbcc..390f9f3f25812bcff23f043a16187539aa8069ff 100644
--- a/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
+++ b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
@@ -173,6 +173,9 @@ class PaymentRequestBrowserTestBase
base::string16 GetComboboxValue(autofill::ServerFieldType type);
void SetComboboxValue(const base::string16& value,
autofill::ServerFieldType type);
+ // Special case for the billing address since the interesting value is not
+ // the visible one accessible directly on the base combobox model.
+ void SelectBillingAddress(const std::string& billing_address_id);
// Whether the editor textfield/combobox for the given |type| is currently in
// an invalid state.

Powered by Google App Engine
This is Rietveld 408576698