Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: test/inspector/inspector-impl.h

Issue 2636613002: [inspector] expose V8InspectorSession::breakProgram in test harness. (Closed)
Patch Set: addressed comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/inspector/debugger/inspector-break-api-expected.txt ('k') | test/inspector/inspector-test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « test/inspector/debugger/inspector-break-api-expected.txt ('k') | test/inspector/inspector-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698