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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAddress.h

Issue 2039863002: PaymentRequest: Sync up PaymentAddress with the payment request spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/modules/payments/PaymentAddress.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAddress.h b/third_party/WebKit/Source/modules/payments/PaymentAddress.h
index 3c7a2dcdac01323739d3f7e4fc0f3da3f4ab8f77..c857e1b673abaee2285c13075b4c8a66669af131 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAddress.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentAddress.h
@@ -23,30 +23,34 @@ public:
explicit PaymentAddress(mojom::blink::PaymentAddressPtr);
virtual ~PaymentAddress();
- const String& regionCode() const { return m_regionCode; }
+ const String& country() const { return m_country; }
const Vector<String>& addressLine() const { return m_addressLine; }
- const String& administrativeArea() const { return m_administrativeArea; }
- const String& locality() const { return m_locality; }
+ const String& region() const { return m_region; }
+ const String& city() const { return m_city; }
const String& dependentLocality() const { return m_dependentLocality; }
const String& postalCode() const { return m_postalCode; }
const String& sortingCode() const { return m_sortingCode; }
const String& languageCode() const { return m_languageCode; }
const String& organization() const { return m_organization; }
const String& recipient() const { return m_recipient; }
+ const String& careOf() const { return m_careOf; }
+ const String& phone() const { return m_phone; }
DEFINE_INLINE_TRACE() {}
private:
- String m_regionCode;
+ String m_country;
Vector<String> m_addressLine;
- String m_administrativeArea;
- String m_locality;
+ String m_region;
+ String m_city;
String m_dependentLocality;
String m_postalCode;
String m_sortingCode;
String m_languageCode;
String m_organization;
String m_recipient;
+ String m_careOf;
+ String m_phone;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698