| 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_V8VALUECOPIER_H_ | 5 #ifndef V8_INSPECTOR_V8VALUECOPIER_H_ |
| 6 #define V8_INSPECTOR_V8VALUECOPIER_H_ | 6 #define V8_INSPECTOR_V8VALUECOPIER_H_ |
| 7 | 7 |
| 8 #include "src/inspector/protocol/Protocol.h" |
| 9 |
| 8 #include "include/v8.h" | 10 #include "include/v8.h" |
| 9 | 11 |
| 10 namespace v8_inspector { | 12 namespace v8_inspector { |
| 11 | 13 |
| 12 v8::MaybeLocal<v8::Value> copyValueFromDebuggerContext( | 14 v8::MaybeLocal<v8::Value> copyValueFromDebuggerContext( |
| 13 v8::Isolate*, v8::Local<v8::Context> debuggerContext, | 15 v8::Isolate*, v8::Local<v8::Context> debuggerContext, |
| 14 v8::Local<v8::Context> toContext, v8::Local<v8::Value>); | 16 v8::Local<v8::Context> toContext, v8::Local<v8::Value>); |
| 15 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, | 17 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, |
| 16 v8::Local<v8::Object>, | 18 v8::Local<v8::Object>, |
| 17 v8::Local<v8::Name> key, | 19 v8::Local<v8::Name> key, |
| 18 v8::Local<v8::Value>); | 20 v8::Local<v8::Value>); |
| 19 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, v8::Local<v8::Array>, | 21 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, v8::Local<v8::Array>, |
| 20 int index, v8::Local<v8::Value>); | 22 int index, v8::Local<v8::Value>); |
| 21 | 23 |
| 24 protocol::Response toProtocolValue(v8::Local<v8::Context>, v8::Local<v8::Value>, |
| 25 std::unique_ptr<protocol::Value>* result); |
| 26 |
| 22 } // namespace v8_inspector | 27 } // namespace v8_inspector |
| 23 | 28 |
| 24 #endif // V8_INSPECTOR_V8VALUECOPIER_H_ | 29 #endif // V8_INSPECTOR_V8VALUECOPIER_H_ |
| OLD | NEW |