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

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

Issue 1753543002: PaymentRequest Mojo bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interface
Patch Set: haraken@'s + esprehn@'s comments Created 4 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: third_party/WebKit/Source/modules/payments/ShippingAddress.h
diff --git a/third_party/WebKit/Source/modules/payments/ShippingAddress.h b/third_party/WebKit/Source/modules/payments/ShippingAddress.h
index ae12af03d72cb4a6c3b906dd1a5aeac8cf9b498b..8dfcc429091902fc53ea347a0148dabf2000406c 100644
--- a/third_party/WebKit/Source/modules/payments/ShippingAddress.h
+++ b/third_party/WebKit/Source/modules/payments/ShippingAddress.h
@@ -6,20 +6,22 @@
#define ShippingAddress_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "modules/ModulesExport.h"
#include "platform/heap/Handle.h"
+#include "public/platform/modules/payments/payment_request.mojom-wtf.h"
#include "wtf/Noncopyable.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
namespace blink {
-class ShippingAddress final : public GarbageCollectedFinalized<ShippingAddress>, public ScriptWrappable {
+class MODULES_EXPORT ShippingAddress final : public GarbageCollectedFinalized<ShippingAddress>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
WTF_MAKE_NONCOPYABLE(ShippingAddress);
public:
- ShippingAddress() {}
- virtual ~ShippingAddress() {}
+ explicit ShippingAddress(mojom::wtf::ShippingAddressPtr);
+ virtual ~ShippingAddress();
const String& regionCode() const { return m_regionCode; }
const Vector<String>& addressLine() const { return m_addressLine; }

Powered by Google App Engine
This is Rietveld 408576698