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

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

Issue 2056803002: Rename remaining types so that all begin Payment* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename remaining types so that all begin Payment* 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/PaymentResponse.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponse.h b/third_party/WebKit/Source/modules/payments/PaymentResponse.h
index 8548b6171f71f7fad17a4398cdd68cba11be7aa0..3631d5288f42f4edad29d9e4a7c4e28b4e1eca43 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentResponse.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.h
@@ -9,7 +9,7 @@
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "modules/ModulesExport.h"
-#include "modules/payments/CurrencyAmount.h"
+#include "modules/payments/PaymentCurrencyAmount.h"
#include "platform/heap/Handle.h"
#include "public/platform/modules/payments/payment_request.mojom-blink.h"
#include "wtf/Noncopyable.h"
@@ -31,7 +31,7 @@ public:
virtual ~PaymentResponse();
const String& methodName() const { return m_methodName; }
- void totalAmount(CurrencyAmount& result) const { result = m_totalAmount; }
+ void totalAmount(PaymentCurrencyAmount& result) const { result = m_totalAmount; }
ScriptValue details(ScriptState*, ExceptionState&) const;
PaymentAddress* shippingAddress() const { return m_shippingAddress.get(); }
const String& payerEmail() const { return m_payerEmail; }
@@ -43,7 +43,7 @@ public:
private:
String m_methodName;
- CurrencyAmount m_totalAmount;
+ PaymentCurrencyAmount m_totalAmount;
String m_stringifiedDetails;
Member<PaymentAddress> m_shippingAddress;
String m_payerEmail;

Powered by Google App Engine
This is Rietveld 408576698