OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 V8InspectorSession_h | 5 #ifndef V8InspectorSession_h |
6 #define V8InspectorSession_h | 6 #define V8InspectorSession_h |
7 | 7 |
8 #include "platform/inspector_protocol/Array.h" | 8 #include "platform/inspector_protocol/InspectorProtocol.h" |
9 #include "platform/inspector_protocol/Platform.h" | |
10 #include "platform/v8_inspector/public/protocol/Debugger.h" | 9 #include "platform/v8_inspector/public/protocol/Debugger.h" |
11 #include "platform/v8_inspector/public/protocol/Runtime.h" | 10 #include "platform/v8_inspector/public/protocol/Runtime.h" |
12 | 11 |
13 #include <v8.h> | 12 #include <v8.h> |
14 | 13 |
15 namespace blink { | 14 namespace blink { |
16 | 15 |
17 class PLATFORM_EXPORT V8InspectorSession { | 16 class PLATFORM_EXPORT V8InspectorSession { |
18 public: | 17 public: |
19 virtual ~V8InspectorSession() { } | 18 virtual ~V8InspectorSession() { } |
(...skipping 22 matching lines...) Expand all Loading... |
42 | 41 |
43 // Remote objects. | 42 // Remote objects. |
44 virtual std::unique_ptr<protocol::Runtime::API::RemoteObject> wrapObject(v8:
:Local<v8::Context>, v8::Local<v8::Value>, const String16& groupName) = 0; | 43 virtual std::unique_ptr<protocol::Runtime::API::RemoteObject> wrapObject(v8:
:Local<v8::Context>, v8::Local<v8::Value>, const String16& groupName) = 0; |
45 virtual bool unwrapObject(ErrorString*, const String16& objectId, v8::Local<
v8::Value>*, v8::Local<v8::Context>*, String16* objectGroup) = 0; | 44 virtual bool unwrapObject(ErrorString*, const String16& objectId, v8::Local<
v8::Value>*, v8::Local<v8::Context>*, String16* objectGroup) = 0; |
46 virtual void releaseObjectGroup(const String16&) = 0; | 45 virtual void releaseObjectGroup(const String16&) = 0; |
47 }; | 46 }; |
48 | 47 |
49 } // namespace blink | 48 } // namespace blink |
50 | 49 |
51 #endif // V8InspectorSession_h | 50 #endif // V8InspectorSession_h |
OLD | NEW |