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

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

Issue 2748093003: PaymentRequest: Introduce PaymentDetailsInit and PaymentDetailsUpdate. (Closed)
Patch Set: PaymentRequest: Introduce PaymentDetailsInit and PaymentDetailsUpdate. 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..c0012a8ecddf8a749efa8137bb81e8a2eca10d3e 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -13,7 +13,6 @@
#include "core/events/EventTarget.h"
#include "modules/ModulesExport.h"
#include "modules/payments/PaymentCompleter.h"
-#include "modules/payments/PaymentDetails.h"
#include "modules/payments/PaymentMethodData.h"
#include "modules/payments/PaymentOptions.h"
#include "modules/payments/PaymentUpdater.h"
@@ -31,6 +30,7 @@ namespace blink {
class ExceptionState;
class ExecutionContext;
class PaymentAddress;
+class PaymentDetailsInit;
class ScriptPromiseResolver;
class ScriptState;
@@ -48,11 +48,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 +91,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