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 V8ValueCopier_h | 5 #ifndef V8ValueCopier_h |
6 #define V8ValueCopier_h | 6 #define V8ValueCopier_h |
7 | 7 |
8 #include <v8.h> | 8 #include <v8.h> |
9 | 9 |
10 namespace v8_inspector { | 10 namespace v8_inspector { |
11 | 11 |
12 v8::MaybeLocal<v8::Value> copyValueFromDebuggerContext(v8::Isolate*, v8::Local<v
8::Context> debuggerContext, v8::Local<v8::Context> toContext, v8::Local<v8::Val
ue>); | 12 v8::MaybeLocal<v8::Value> copyValueFromDebuggerContext(v8::Isolate*, v8::Local<v
8::Context> debuggerContext, v8::Local<v8::Context> toContext, v8::Local<v8::Val
ue>); |
| 13 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, v8::Local<v8::Object>
, v8::Local<v8::Name> key, v8::Local<v8::Value>); |
| 14 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, v8::Local<v8::Array>,
int index, v8::Local<v8::Value>); |
13 | 15 |
14 } // namespace v8_inspector | 16 } // namespace v8_inspector |
15 | 17 |
16 #endif // !defined(V8ValueCopier_h) | 18 #endif // !defined(V8ValueCopier_h) |
OLD | NEW |