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

Side by Side Diff: third_party/WebKit/Source/modules/payments/PaymentAddress.h

Issue 2456893002: Remove careOf field from PaymentAddress. (Closed)
Patch Set: Remove use counter Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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 "components/payments/payment_request.mojom-blink.h" 10 #include "components/payments/payment_request.mojom-blink.h"
(...skipping 20 matching lines...) Expand all
31 const String& country() const { return m_country; } 31 const String& country() const { return m_country; }
32 const Vector<String>& addressLine() const { return m_addressLine; } 32 const Vector<String>& addressLine() const { return m_addressLine; }
33 const String& region() const { return m_region; } 33 const String& region() const { return m_region; }
34 const String& city() const { return m_city; } 34 const String& city() const { return m_city; }
35 const String& dependentLocality() const { return m_dependentLocality; } 35 const String& dependentLocality() const { return m_dependentLocality; }
36 const String& postalCode() const { return m_postalCode; } 36 const String& postalCode() const { return m_postalCode; }
37 const String& sortingCode() const { return m_sortingCode; } 37 const String& sortingCode() const { return m_sortingCode; }
38 const String& languageCode() const { return m_languageCode; } 38 const String& languageCode() const { return m_languageCode; }
39 const String& organization() const { return m_organization; } 39 const String& organization() const { return m_organization; }
40 const String& recipient() const { return m_recipient; } 40 const String& recipient() const { return m_recipient; }
41 const String careOf() const { return WTF::emptyString(); }
42 const String& phone() const { return m_phone; } 41 const String& phone() const { return m_phone; }
43 42
44 DEFINE_INLINE_TRACE() {} 43 DEFINE_INLINE_TRACE() {}
45 44
46 private: 45 private:
47 String m_country; 46 String m_country;
48 Vector<String> m_addressLine; 47 Vector<String> m_addressLine;
49 String m_region; 48 String m_region;
50 String m_city; 49 String m_city;
51 String m_dependentLocality; 50 String m_dependentLocality;
52 String m_postalCode; 51 String m_postalCode;
53 String m_sortingCode; 52 String m_sortingCode;
54 String m_languageCode; 53 String m_languageCode;
55 String m_organization; 54 String m_organization;
56 String m_recipient; 55 String m_recipient;
57 String m_phone; 56 String m_phone;
58 }; 57 };
59 58
60 } // namespace blink 59 } // namespace blink
61 60
62 #endif // PaymentAddress_h 61 #endif // PaymentAddress_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/modules/payments/PaymentAddress.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698