Index: src/inspector/v8-debugger-agent-impl.h |
diff --git a/src/inspector/v8-debugger-agent-impl.h b/src/inspector/v8-debugger-agent-impl.h |
index 4e8e336545631d344534410089666c6e45b53d1b..e8acf789a1c6a81b008e1b38c3426ad1b3cb6242 100644 |
--- a/src/inspector/v8-debugger-agent-impl.h |
+++ b/src/inspector/v8-debugger-agent-impl.h |
@@ -11,6 +11,7 @@ |
#include "src/inspector/java-script-call-frame.h" |
#include "src/inspector/protocol/Debugger.h" |
#include "src/inspector/protocol/Forward.h" |
+#include "src/inspector/wasm-translation.h" |
namespace v8_inspector { |
@@ -142,6 +143,10 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); |
void willExecuteScript(int scriptId); |
void didExecuteScript(); |
+ void newWasmScript(v8::Local<v8::Object> scriptWrapper); |
+ |
+ void translateLocation(String16* scriptId, int* lineNumber, |
+ int* columnNumber); |
v8::Isolate* isolate() { return m_isolate; } |
@@ -215,6 +220,10 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
m_blackboxedPositions; |
+ WasmTranslation m_wasmTranslation; |
+ |
+ friend class WasmTranslation; |
+ |
DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); |
}; |