| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PaymentAddress_h | 5 #ifndef PaymentAddress_h |
| 6 #define PaymentAddress_h | 6 #define PaymentAddress_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptValue.h" | 8 #include "bindings/core/v8/ScriptValue.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 const String& country() const { return m_country; } | 29 const String& country() const { return m_country; } |
| 30 const Vector<String>& addressLine() const { return m_addressLine; } | 30 const Vector<String>& addressLine() const { return m_addressLine; } |
| 31 const String& region() const { return m_region; } | 31 const String& region() const { return m_region; } |
| 32 const String& city() const { return m_city; } | 32 const String& city() const { return m_city; } |
| 33 const String& dependentLocality() const { return m_dependentLocality; } | 33 const String& dependentLocality() const { return m_dependentLocality; } |
| 34 const String& postalCode() const { return m_postalCode; } | 34 const String& postalCode() const { return m_postalCode; } |
| 35 const String& sortingCode() const { return m_sortingCode; } | 35 const String& sortingCode() const { return m_sortingCode; } |
| 36 const String& languageCode() const { return m_languageCode; } | 36 const String& languageCode() const { return m_languageCode; } |
| 37 const String& organization() const { return m_organization; } | 37 const String& organization() const { return m_organization; } |
| 38 const String& recipient() const { return m_recipient; } | 38 const String& recipient() const { return m_recipient; } |
| 39 const String& careOf() const { return m_careOf; } | 39 const String careOf() const { return WTF::emptyString(); } |
| 40 const String& phone() const { return m_phone; } | 40 const String& phone() const { return m_phone; } |
| 41 | 41 |
| 42 DEFINE_INLINE_TRACE() {} | 42 DEFINE_INLINE_TRACE() {} |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 String m_country; | 45 String m_country; |
| 46 Vector<String> m_addressLine; | 46 Vector<String> m_addressLine; |
| 47 String m_region; | 47 String m_region; |
| 48 String m_city; | 48 String m_city; |
| 49 String m_dependentLocality; | 49 String m_dependentLocality; |
| 50 String m_postalCode; | 50 String m_postalCode; |
| 51 String m_sortingCode; | 51 String m_sortingCode; |
| 52 String m_languageCode; | 52 String m_languageCode; |
| 53 String m_organization; | 53 String m_organization; |
| 54 String m_recipient; | 54 String m_recipient; |
| 55 String m_careOf; | |
| 56 String m_phone; | 55 String m_phone; |
| 57 }; | 56 }; |
| 58 | 57 |
| 59 } // namespace blink | 58 } // namespace blink |
| 60 | 59 |
| 61 #endif // PaymentAddress_h | 60 #endif // PaymentAddress_h |
| OLD | NEW |