d7f82c11f7
BUG=none R=dgozman@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Review-Url: https://codereview.chromium.org/2467853003 Cr-Commit-Position: refs/heads/master@{#40744}
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
// Copyright 2016 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef V8_INSPECTOR_V8VALUECOPIER_H_
|
|
#define V8_INSPECTOR_V8VALUECOPIER_H_
|
|
|
|
#include "src/inspector/protocol/Protocol.h"
|
|
|
|
#include "include/v8.h"
|
|
|
|
namespace v8_inspector {
|
|
|
|
v8::MaybeLocal<v8::Value> copyValueFromDebuggerContext(
|
|
v8::Isolate*, v8::Local<v8::Context> debuggerContext,
|
|
v8::Local<v8::Context> toContext, v8::Local<v8::Value>);
|
|
v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>,
|
|
v8::Local<v8::Object>,
|
|
v8::Local<v8::Name> key,
|
|
v8::Local<v8::Value>);
|
|
v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, v8::Local<v8::Array>,
|
|
int index, v8::Local<v8::Value>);
|
|
|
|
protocol::Response toProtocolValue(v8::Local<v8::Context>, v8::Local<v8::Value>,
|
|
std::unique_ptr<protocol::Value>* result);
|
|
|
|
} // namespace v8_inspector
|
|
|
|
#endif // V8_INSPECTOR_V8VALUECOPIER_H_
|