Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Unified Diff: src/inspector/v8-value-copier.h

Issue 2467853003: [inspector] migrate Runtime to new style (Closed)
Patch Set: removed redundant "ErrorString errorString;" Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/inspector/v8-value-copier.h
diff --git a/src/inspector/v8-value-copier.h b/src/inspector/v8-value-copier.h
index c24a5648a21642ea49858b73c5c2e9ae78f11483..00c2f16ff6db85f75f1d4ddff51ee66eeb7b36b7 100644
--- a/src/inspector/v8-value-copier.h
+++ b/src/inspector/v8-value-copier.h
@@ -5,6 +5,8 @@
#ifndef V8_INSPECTOR_V8VALUECOPIER_H_
#define V8_INSPECTOR_V8VALUECOPIER_H_
+#include "src/inspector/protocol/Protocol.h"
+
#include "include/v8.h"
namespace v8_inspector {
@@ -19,6 +21,10 @@ v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>,
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>,
+ int maxDepth,
dgozman 2016/11/02 19:54:00 Let's not pass maxDepth ever and use a constant in
kozy 2016/11/02 22:45:13 Done.
+ std::unique_ptr<protocol::Value>& result);
+
} // namespace v8_inspector
#endif // V8_INSPECTOR_V8VALUECOPIER_H_

Powered by Google App Engine
This is Rietveld 408576698