Index: third_party/WebKit/Source/modules/payments/PaymentTestHelper.h |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h |
index b19b1a15c140e50944260784814fb8396d4eebdf..442ffa75c5ffc050b1a8bbb9b9465ed892884da9 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.h |
@@ -6,6 +6,7 @@ |
#define PaymentTestHelper_h |
#include "bindings/core/v8/ScriptFunction.h" |
+#include "bindings/core/v8/V8DOMException.h" |
#include "modules/payments/PaymentDetails.h" |
#include "modules/payments/PaymentItem.h" |
#include "modules/payments/PaymentShippingOption.h" |
@@ -68,14 +69,17 @@ public: |
~PaymentRequestMockFunctionScope(); |
v8::Local<v8::Function> expectCall(); |
+ v8::Local<v8::Function> expectCall(String*); |
please use gerrit instead
2016/07/13 15:55:26
String* captor
pals
2016/07/14 08:37:38
Done.
|
v8::Local<v8::Function> expectNoCall(); |
private: |
class MockFunction : public ScriptFunction { |
public: |
explicit MockFunction(ScriptState*); |
+ MockFunction(ScriptState*, String *captor); |
please use gerrit instead
2016/07/13 15:55:26
String* captor
pals
2016/07/14 08:37:38
Done.
|
v8::Local<v8::Function> bind(); |
MOCK_METHOD1(call, ScriptValue(ScriptValue)); |
+ String* m_value; |
}; |
ScriptState* m_scriptState; |