Index: third_party/WebKit/Source/bindings/tests/results/core/V8StringSequenceCallbackFunctionLongSequenceArg.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8VoidExperimentalCallbackFunction.h b/third_party/WebKit/Source/bindings/tests/results/core/V8StringSequenceCallbackFunctionLongSequenceArg.h |
similarity index 52% |
copy from third_party/WebKit/Source/bindings/tests/results/core/V8VoidExperimentalCallbackFunction.h |
copy to third_party/WebKit/Source/bindings/tests/results/core/V8StringSequenceCallbackFunctionLongSequenceArg.h |
index ba03085507cd9cedccc02ac5bdbba6ad3881b600..126eb653544491bf46407d5e188797f30d664cec 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8VoidExperimentalCallbackFunction.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8StringSequenceCallbackFunctionLongSequenceArg.h |
@@ -6,9 +6,10 @@ |
// clang-format off |
-#ifndef V8VoidExperimentalCallbackFunction_h |
-#define V8VoidExperimentalCallbackFunction_h |
+#ifndef V8StringSequenceCallbackFunctionLongSequenceArg_h |
+#define V8StringSequenceCallbackFunctionLongSequenceArg_h |
+#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/ScopedPersistent.h" |
#include "core/CoreExport.h" |
#include "platform/heap/Handle.h" |
@@ -18,18 +19,18 @@ namespace blink { |
class ScriptState; |
-class CORE_EXPORT V8VoidExperimentalCallbackFunction final : public GarbageCollectedFinalized<V8VoidExperimentalCallbackFunction> { |
+class CORE_EXPORT V8StringSequenceCallbackFunctionLongSequenceArg final : public GarbageCollectedFinalized<V8StringSequenceCallbackFunctionLongSequenceArg> { |
public: |
- static V8VoidExperimentalCallbackFunction* create(v8::Isolate* isolate, v8::Local<v8::Function> callback) |
+ static V8StringSequenceCallbackFunctionLongSequenceArg* create(v8::Isolate* isolate, v8::Local<v8::Function> callback) |
{ |
- return new V8VoidExperimentalCallbackFunction(isolate, callback); |
+ return new V8StringSequenceCallbackFunctionLongSequenceArg(isolate, callback); |
} |
- ~V8VoidExperimentalCallbackFunction() = default; |
+ ~V8StringSequenceCallbackFunctionLongSequenceArg() = default; |
DECLARE_TRACE(); |
- bool call(ScriptState* scriptState, ScriptWrappable* scriptWrappable); |
+ bool call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, ExceptionState& exceptionState, const Vector<int>& arg, Vector<String>& returnValue); |
v8::Local<v8::Function> v8Value(v8::Isolate* isolate) |
{ |
@@ -43,10 +44,10 @@ public: |
} |
private: |
- V8VoidExperimentalCallbackFunction(v8::Isolate* isolate, v8::Local<v8::Function>); |
+ V8StringSequenceCallbackFunctionLongSequenceArg(v8::Isolate* isolate, v8::Local<v8::Function>); |
ScopedPersistent<v8::Function> m_callback; |
}; |
} // namespace blink |
-#endif // V8VoidExperimentalCallbackFunction_h |
+#endif // V8StringSequenceCallbackFunctionLongSequenceArg_h |