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

Unified Diff: Source/core/inspector/PerIsolateDebuggerClient.h

Issue 1128273005: Devtools: Move runMessageLoopOnPause and other methods on ScriptDebugServer::Client (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix ownptrs Created 5 years, 7 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
Index: Source/core/inspector/PerIsolateDebuggerClient.h
diff --git a/Source/core/inspector/PerIsolateDebuggerClient.h b/Source/core/inspector/PerIsolateDebuggerClient.h
index 10f6d5e2f958edd9678bfdb768338ad2d1944c58..be6982cb679c679fccf27f4c535248336f2cb70b 100644
--- a/Source/core/inspector/PerIsolateDebuggerClient.h
+++ b/Source/core/inspector/PerIsolateDebuggerClient.h
@@ -9,14 +9,16 @@
namespace blink {
-class PerIsolateDebuggerClient final : public ScriptDebugServer::Client {
+class PerIsolateDebuggerClient : public ScriptDebugServer::Client {
WTF_MAKE_NONCOPYABLE(PerIsolateDebuggerClient);
public:
- explicit PerIsolateDebuggerClient(v8::Isolate*);
+ PerIsolateDebuggerClient(v8::Isolate*, PassOwnPtr<ScriptDebugServer>);
~PerIsolateDebuggerClient() override;
v8::Local<v8::Object> compileDebuggerScript() override;
+ ScriptDebugServer* scriptDebugServer() const { return m_scriptDebugServer.get(); }
private:
v8::Isolate* m_isolate;
+ OwnPtr<ScriptDebugServer> m_scriptDebugServer;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698