Index: test/inspector/inspector-impl.h |
diff --git a/test/inspector/inspector-impl.h b/test/inspector/inspector-impl.h |
index e18f6d5e1a6f137dac0f878854450ff4e7150528..5da332bb271671fa73151597fc84b5ad5fc4ccd7 100644 |
--- a/test/inspector/inspector-impl.h |
+++ b/test/inspector/inspector-impl.h |
@@ -27,9 +27,13 @@ class InspectorClientImpl : public v8_inspector::V8InspectorClient { |
static v8_inspector::V8Inspector* InspectorFromContext( |
v8::Local<v8::Context> context); |
+ static v8_inspector::V8InspectorSession* SessionFromContext( |
+ v8::Local<v8::Context> context); |
void setCurrentTimeMSForTest(double time); |
+ v8_inspector::V8InspectorSession* session() const { return session_.get(); } |
+ |
private: |
// V8InspectorClient implementation. |
v8::Local<v8::Context> ensureDefaultContextInGroup( |
@@ -38,9 +42,6 @@ class InspectorClientImpl : public v8_inspector::V8InspectorClient { |
void runMessageLoopOnPause(int context_group_id) override; |
void quitMessageLoopOnPause() override; |
- static v8_inspector::V8InspectorSession* SessionFromContext( |
- v8::Local<v8::Context> context); |
- |
friend class SendMessageToBackendTask; |
friend class ConnectTask; |