OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PaymentTestHelper_h | 5 #ifndef PaymentTestHelper_h |
6 #define PaymentTestHelper_h | 6 #define PaymentTestHelper_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptFunction.h" | 8 #include "bindings/core/v8/ScriptFunction.h" |
9 #include "bindings/core/v8/V8DOMException.h" | 9 #include "bindings/core/v8/V8DOMException.h" |
| 10 #include "components/payments/payment_request.mojom-blink.h" |
10 #include "modules/payments/PaymentDetails.h" | 11 #include "modules/payments/PaymentDetails.h" |
11 #include "modules/payments/PaymentItem.h" | 12 #include "modules/payments/PaymentItem.h" |
12 #include "modules/payments/PaymentShippingOption.h" | 13 #include "modules/payments/PaymentShippingOption.h" |
13 #include "platform/heap/HeapAllocator.h" | 14 #include "platform/heap/HeapAllocator.h" |
14 #include "platform/heap/Persistent.h" | 15 #include "platform/heap/Persistent.h" |
15 #include "public/platform/modules/payments/payment_request.mojom-blink.h" | |
16 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
17 #include "wtf/Allocator.h" | 17 #include "wtf/Allocator.h" |
18 #include "wtf/Vector.h" | 18 #include "wtf/Vector.h" |
19 #include "wtf/text/WTFString.h" | 19 #include "wtf/text/WTFString.h" |
20 | 20 |
21 namespace blink { | 21 namespace blink { |
22 | 22 |
23 class Document; | 23 class Document; |
24 class PaymentMethodData; | 24 class PaymentMethodData; |
25 class ScriptState; | 25 class ScriptState; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 String* m_value; | 101 String* m_value; |
102 }; | 102 }; |
103 | 103 |
104 ScriptState* m_scriptState; | 104 ScriptState* m_scriptState; |
105 Vector<Persistent<MockFunction>> m_mockFunctions; | 105 Vector<Persistent<MockFunction>> m_mockFunctions; |
106 }; | 106 }; |
107 | 107 |
108 } // namespace blink | 108 } // namespace blink |
109 | 109 |
110 #endif // PaymentTestHelper_h | 110 #endif // PaymentTestHelper_h |
OLD | NEW |