OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project 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 V8_INSPECTOR_V8INTERNALVALUETYPE_H_ | 5 #ifndef V8_INSPECTOR_V8INTERNALVALUETYPE_H_ |
6 #define V8_INSPECTOR_V8INTERNALVALUETYPE_H_ | 6 #define V8_INSPECTOR_V8INTERNALVALUETYPE_H_ |
7 | 7 |
8 #include "include/v8.h" | 8 #include "include/v8.h" |
9 | 9 |
10 namespace v8_inspector { | 10 namespace v8_inspector { |
11 | 11 |
12 enum class V8InternalValueType { kEntry, kLocation, kScope, kScopeList }; | 12 enum class V8InternalValueType { kEntry, kLocation, kScope, kScopeList }; |
13 | 13 |
14 bool markAsInternal(v8::Local<v8::Context>, v8::Local<v8::Object>, | 14 bool markAsInternal(v8::Local<v8::Context>, v8::Local<v8::Object>, |
15 V8InternalValueType); | 15 V8InternalValueType); |
16 bool markArrayEntriesAsInternal(v8::Local<v8::Context>, v8::Local<v8::Array>, | 16 bool markArrayEntriesAsInternal(v8::Local<v8::Context>, v8::Local<v8::Array>, |
17 V8InternalValueType); | 17 V8InternalValueType); |
18 v8::Local<v8::Value> v8InternalValueTypeFrom(v8::Local<v8::Context>, | 18 v8::Local<v8::Value> v8InternalValueTypeFrom(v8::Local<v8::Context>, |
19 v8::Local<v8::Object>); | 19 v8::Local<v8::Object>); |
20 | 20 |
21 } // namespace v8_inspector | 21 } // namespace v8_inspector |
22 | 22 |
23 #endif // V8_INSPECTOR_V8INTERNALVALUETYPE_H_ | 23 #endif // V8_INSPECTOR_V8INTERNALVALUETYPE_H_ |
OLD | NEW |