| 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 V8InternalValueType_h | 5 #ifndef V8InternalValueType_h |
| 6 #define V8InternalValueType_h | 6 #define V8InternalValueType_h |
| 7 | 7 |
| 8 #include "platform/inspector_protocol/InspectorProtocol.h" | |
| 9 #include <v8.h> | 8 #include <v8.h> |
| 10 | 9 |
| 11 namespace v8_inspector { | 10 namespace v8_inspector { |
| 12 | 11 |
| 13 enum class V8InternalValueType { kEntry, kLocation, kScope, kScopeList }; | 12 enum class V8InternalValueType { kEntry, kLocation, kScope, kScopeList }; |
| 14 | 13 |
| 15 bool markAsInternal(v8::Local<v8::Context>, v8::Local<v8::Object>, V8InternalVal
ueType); | 14 bool markAsInternal(v8::Local<v8::Context>, v8::Local<v8::Object>, V8InternalVal
ueType); |
| 16 bool markArrayEntriesAsInternal(v8::Local<v8::Context>, v8::Local<v8::Array>, V8
InternalValueType); | 15 bool markArrayEntriesAsInternal(v8::Local<v8::Context>, v8::Local<v8::Array>, V8
InternalValueType); |
| 17 v8::Local<v8::Value> v8InternalValueTypeFrom(v8::Local<v8::Context>, v8::Local<v
8::Object>); | 16 v8::Local<v8::Value> v8InternalValueTypeFrom(v8::Local<v8::Context>, v8::Local<v
8::Object>); |
| 18 | 17 |
| 19 | 18 |
| 20 } // namespace v8_inspector | 19 } // namespace v8_inspector |
| 21 | 20 |
| 22 #endif // V8InternalValueType_h | 21 #endif // V8InternalValueType_h |
| OLD | NEW |