Chromium Code Reviews| 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&); |