OLD | NEW |
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 V8Inspector_h | 5 #ifndef V8Inspector_h |
6 #define V8Inspector_h | 6 #define V8Inspector_h |
7 | 7 |
8 #include "platform/inspector_protocol/Platform.h" | 8 #include "platform/inspector_protocol/Platform.h" |
9 #include "platform/inspector_protocol/String16.h" | 9 #include "platform/inspector_protocol/String16.h" |
| 10 #include "platform/v8_inspector/public/V8ContextInfo.h" |
10 | 11 |
11 #include <v8.h> | 12 #include <v8.h> |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 | 15 |
15 class V8ContextInfo; | |
16 class V8InspectorClient; | 16 class V8InspectorClient; |
17 class V8InspectorSession; | 17 class V8InspectorSession; |
18 class V8InspectorSessionClient; | 18 class V8InspectorSessionClient; |
19 class V8StackTrace; | 19 class V8StackTrace; |
20 | 20 |
21 namespace protocol { | 21 namespace protocol { |
22 class FrontendChannel; | 22 class FrontendChannel; |
23 } | 23 } |
24 | 24 |
25 class PLATFORM_EXPORT V8Inspector { | 25 class PLATFORM_EXPORT V8Inspector { |
(...skipping 26 matching lines...) Expand all Loading... |
52 // API methods. | 52 // API methods. |
53 virtual std::unique_ptr<V8InspectorSession> connect(int contextGroupId, prot
ocol::FrontendChannel*, V8InspectorSessionClient*, const String16* state) = 0; | 53 virtual std::unique_ptr<V8InspectorSession> connect(int contextGroupId, prot
ocol::FrontendChannel*, V8InspectorSessionClient*, const String16* state) = 0; |
54 virtual std::unique_ptr<V8StackTrace> createStackTrace(v8::Local<v8::StackTr
ace>) = 0; | 54 virtual std::unique_ptr<V8StackTrace> createStackTrace(v8::Local<v8::StackTr
ace>) = 0; |
55 virtual std::unique_ptr<V8StackTrace> captureStackTrace(bool fullStack) = 0; | 55 virtual std::unique_ptr<V8StackTrace> captureStackTrace(bool fullStack) = 0; |
56 }; | 56 }; |
57 | 57 |
58 } // namespace blink | 58 } // namespace blink |
59 | 59 |
60 | 60 |
61 #endif // V8Inspector_h | 61 #endif // V8Inspector_h |
OLD | NEW |