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

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

Issue 2713023004: [inspector] added reconnect method for tests (Closed)
Patch Set: rebased Created 3 years, 10 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/heap-profiler/take-heap-snapshot-on-pause.js ('k') | test/inspector/inspector-impl.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 5da332bb271671fa73151597fc84b5ad5fc4ccd7..a113af8ac63e2da05f85d10a78eec45913849641 100644
--- a/test/inspector/inspector-impl.h
+++ b/test/inspector/inspector-impl.h
@@ -25,6 +25,8 @@ class InspectorClientImpl : public v8_inspector::V8InspectorClient {
v8::base::Semaphore* ready_semaphore);
virtual ~InspectorClientImpl();
+ void scheduleReconnect(v8::base::Semaphore* ready_semaphore);
+
static v8_inspector::V8Inspector* InspectorFromContext(
v8::Local<v8::Context> context);
static v8_inspector::V8InspectorSession* SessionFromContext(
@@ -46,10 +48,13 @@ class InspectorClientImpl : public v8_inspector::V8InspectorClient {
friend class ConnectTask;
void connect(v8::Local<v8::Context> context);
+ friend class DisconnectTask;
+ void disconnect();
std::unique_ptr<v8_inspector::V8Inspector> inspector_;
std::unique_ptr<v8_inspector::V8InspectorSession> session_;
std::unique_ptr<v8_inspector::V8Inspector::Channel> channel_;
+ std::unique_ptr<v8_inspector::StringBuffer> state_;
v8::Isolate* isolate_;
v8::Global<v8::Context> context_;
« no previous file with comments | « test/inspector/heap-profiler/take-heap-snapshot-on-pause.js ('k') | test/inspector/inspector-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698