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

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

Issue 2779013002: Revert of PaymentRequest: Introduce PaymentDetailsInit and PaymentDetailsUpdate. (Closed)
Patch Set: 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 c0012a8ecddf8a749efa8137bb81e8a2eca10d3e..b0162f85f45a8940a478e8cc2693dccf0ec09466 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -13,6 +13,7 @@
#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"
@@ -30,7 +31,6 @@
class ExceptionState;
class ExecutionContext;
class PaymentAddress;
-class PaymentDetailsInit;
class ScriptPromiseResolver;
class ScriptState;
@@ -48,11 +48,11 @@
public:
static PaymentRequest* create(ExecutionContext*,
const HeapVector<PaymentMethodData>&,
- const PaymentDetailsInit&,
+ const PaymentDetails&,
ExceptionState&);
static PaymentRequest* create(ExecutionContext*,
const HeapVector<PaymentMethodData>&,
- const PaymentDetailsInit&,
+ const PaymentDetails&,
const PaymentOptions&,
ExceptionState&);
@@ -91,7 +91,7 @@
private:
PaymentRequest(ExecutionContext*,
const HeapVector<PaymentMethodData>&,
- const PaymentDetailsInit&,
+ const PaymentDetails&,
const PaymentOptions&,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698