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

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

Issue 2748093003: PaymentRequest: Introduce PaymentDetailsInit and PaymentDetailsUpdate. (Closed)
Patch Set: PD Created 3 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/PaymentRequest.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.h b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
index b0162f85f45a8940a478e8cc2693dccf0ec09466..681947e45fb57ca7406444ce2bc029b7439ee4b4 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -13,7 +13,7 @@
#include "core/events/EventTarget.h"
#include "modules/ModulesExport.h"
#include "modules/payments/PaymentCompleter.h"
-#include "modules/payments/PaymentDetails.h"
+#include "modules/payments/PaymentDetailsInit.h"
please use gerrit instead 2017/03/22 17:14:01 No need to include it, because it's forward declar
zino 2017/03/27 13:15:13 Done.
#include "modules/payments/PaymentMethodData.h"
#include "modules/payments/PaymentOptions.h"
#include "modules/payments/PaymentUpdater.h"
@@ -31,6 +31,7 @@ namespace blink {
class ExceptionState;
class ExecutionContext;
class PaymentAddress;
+class PaymentDetailsInit;
class ScriptPromiseResolver;
class ScriptState;
@@ -48,11 +49,11 @@ class MODULES_EXPORT PaymentRequest final
public:
static PaymentRequest* create(ExecutionContext*,
const HeapVector<PaymentMethodData>&,
- const PaymentDetails&,
+ const PaymentDetailsInit&,
ExceptionState&);
static PaymentRequest* create(ExecutionContext*,
const HeapVector<PaymentMethodData>&,
- const PaymentDetails&,
+ const PaymentDetailsInit&,
const PaymentOptions&,
ExceptionState&);
@@ -91,7 +92,7 @@ class MODULES_EXPORT PaymentRequest final
private:
PaymentRequest(ExecutionContext*,
const HeapVector<PaymentMethodData>&,
- const PaymentDetails&,
+ const PaymentDetailsInit&,
const PaymentOptions&,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698