aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/inspector/custom-preview.h
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-03-12 09:01:49 +0100
committerMichaël Zasso <targos@protonmail.com>2019-03-14 18:49:21 +0100
commit7b48713334469818661fe276cf571de9c7899f2d (patch)
tree4dbda49ac88db76ce09dc330a0cb587e68e139ba /deps/v8/src/inspector/custom-preview.h
parent8549ac09b256666cf5275224ec58fab9939ff32e (diff)
downloadandroid-node-v8-7b48713334469818661fe276cf571de9c7899f2d.tar.gz
android-node-v8-7b48713334469818661fe276cf571de9c7899f2d.tar.bz2
android-node-v8-7b48713334469818661fe276cf571de9c7899f2d.zip
deps: update V8 to 7.3.492.25
PR-URL: https://github.com/nodejs/node/pull/25852 Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'deps/v8/src/inspector/custom-preview.h')
-rw-r--r--deps/v8/src/inspector/custom-preview.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/deps/v8/src/inspector/custom-preview.h b/deps/v8/src/inspector/custom-preview.h
new file mode 100644
index 0000000000..1ae8e25a4c
--- /dev/null
+++ b/deps/v8/src/inspector/custom-preview.h
@@ -0,0 +1,22 @@
+// Copyright 2018 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_CUSTOM_PREVIEW_H_
+#define V8_INSPECTOR_CUSTOM_PREVIEW_H_
+
+#include "src/inspector/protocol/Protocol.h"
+#include "src/inspector/protocol/Runtime.h"
+
+namespace v8_inspector {
+
+const int kMaxCustomPreviewDepth = 20;
+
+void generateCustomPreview(
+ int sessionId, const String16& groupName, v8::Local<v8::Context> context,
+ v8::Local<v8::Object> object, v8::MaybeLocal<v8::Value> config,
+ int maxDepth, std::unique_ptr<protocol::Runtime::CustomPreview>* preview);
+
+} // namespace v8_inspector
+
+#endif // V8_INSPECTOR_CUSTOM_PREVIEW_H_