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

Side by Side 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: Remove empty line 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PerIsolateDebuggerClient_h 5 #ifndef PerIsolateDebuggerClient_h
6 #define PerIsolateDebuggerClient_h 6 #define PerIsolateDebuggerClient_h
7 7
8 #include "bindings/core/v8/ScriptDebugServer.h" 8 #include "bindings/core/v8/ScriptDebugServer.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class PerIsolateDebuggerClient final : public ScriptDebugServer::Client { 12 class PerIsolateDebuggerClient : public ScriptDebugServer::Client {
13 WTF_MAKE_NONCOPYABLE(PerIsolateDebuggerClient); 13 WTF_MAKE_NONCOPYABLE(PerIsolateDebuggerClient);
14 public: 14 public:
15 explicit PerIsolateDebuggerClient(v8::Isolate*); 15 explicit PerIsolateDebuggerClient(v8::Isolate*, PassOwnPtr<ScriptDebugServer >);
yurys 2015/05/08 10:59:15 drop explicit
sergeyv 2015/05/08 13:59:15 Done.
16 ~PerIsolateDebuggerClient() override; 16 ~PerIsolateDebuggerClient() override;
17 v8::Local<v8::Object> compileDebuggerScript() override; 17 v8::Local<v8::Object> compileDebuggerScript() override;
18 ScriptDebugServer* scriptDebugServer() const { return m_scriptDebugServer.ge t(); }
18 private: 19 private:
19 v8::Isolate* m_isolate; 20 v8::Isolate* m_isolate;
21 OwnPtr<ScriptDebugServer> m_scriptDebugServer;
20 }; 22 };
21 23
22 } // namespace blink 24 } // namespace blink
23 25
24 26
25 #endif // !defined(PerIsolateDebuggerClient_h) 27 #endif // !defined(PerIsolateDebuggerClient_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698