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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java

Issue 2766413003: test (Closed)
Patch Set: format Created 3 years, 9 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/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java
index 2f055d16fd55dbbb8d0687f190654c9d8be9e952..8a47247e025a919b70cc6a1cf1f36cdb44ae30e8 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java
@@ -52,36 +52,6 @@ public class PaymentInformation {
}
/**
- * Returns the label for the selected shipping address.
- *
- * @return The label for the selected shipping address or null.
- */
- public String getSelectedShippingAddressLabel() {
- PaymentOption address = mShippingAddresses.getSelectedItem();
- return address != null ? address.getLabel() : null;
- }
-
- /**
- * Returns the sublabel for the selected shipping address.
- *
- * @return The sublabel for the selected shipping address or null.
- */
- public String getSelectedShippingAddressSublabel() {
- PaymentOption address = mShippingAddresses.getSelectedItem();
- return address != null ? address.getSublabel() : null;
- }
-
- /**
- * Returns the tertiary label for the selected shipping address.
- *
- * @return The tertiary label for the selected shipping address or null.
- */
- public String getSelectedShippingAddressTertiaryLabel() {
- PaymentOption address = mShippingAddresses.getSelectedItem();
- return address != null ? address.getTertiaryLabel() : null;
- }
-
- /**
* Returns the shipping options.
*
* @return The shipping options.
@@ -91,16 +61,6 @@ public class PaymentInformation {
}
/**
- * Returns the label for the selected shipping option.
- *
- * @return The label for the selected shipping option or null.
- */
- public String getSelectedShippingOptionLabel() {
- PaymentOption option = mShippingOptions.getSelectedItem();
- return option != null ? option.getLabel() : null;
- }
-
- /**
* Returns the contact details.
*
* @return The contact details.

Powered by Google App Engine
This is Rietveld 408576698