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

Side by Side Diff: third_party/WebKit/Source/core/inspector/ScriptDebuggerBase.h

Issue 1514523004: DevTools: remove V8DebuggerListener and ScriptDebuggerBase abstractions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
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 ScriptDebuggerBase_h 5 #ifndef ScriptDebuggerBase_h
6 #define ScriptDebuggerBase_h 6 #define ScriptDebuggerBase_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/inspector/v8/V8Debugger.h" 9 #include "core/inspector/v8/V8Debugger.h"
dgozman 2015/12/10 00:55:12 Unnecessary includes.
10 #include "core/inspector/v8/V8DebuggerClient.h" 10 #include "core/inspector/v8/V8DebuggerClient.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class CORE_EXPORT ScriptDebuggerBase : public V8DebuggerClient { 14 v8::Local<v8::Object> compileDebuggerScript(v8::Isolate*);
dgozman 2015/12/10 00:55:12 Perhaps, rename this to DebuggerScript.h?
15 WTF_MAKE_NONCOPYABLE(ScriptDebuggerBase);
16 public:
17 ScriptDebuggerBase(v8::Isolate*);
18 ~ScriptDebuggerBase() override;
19 v8::Local<v8::Object> compileDebuggerScript() override;
20 V8Debugger* debugger() const { return m_debugger.get(); }
21
22 private:
23 v8::Isolate* m_isolate;
24 OwnPtr<V8Debugger> m_debugger;
25 };
26 15
27 } // namespace blink 16 } // namespace blink
28 17
29 18
30 #endif // !defined(ScriptDebuggerBase_h) 19 #endif // !defined(ScriptDebuggerBase_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698