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 3 // found in the LICENSE file. 4 5 #ifndef V8_INSPECTOR_V8_VALUE_UTILS_H_ 6 #define V8_INSPECTOR_V8_VALUE_UTILS_H_ 7 8 #include "src/inspector/protocol/Protocol.h" 9 10 #include "include/v8.h" 11 12 namespace v8_inspector { 13 14 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, 15 v8::Local<v8::Object>, 16 v8::Local<v8::Name> key, 17 v8::Local<v8::Value>); 18 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, v8::Local<v8::Array>, 19 int index, v8::Local<v8::Value>); 20 21 } // namespace v8_inspector 22 23 #endif // V8_INSPECTOR_V8_VALUE_UTILS_H_ 24