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

Unified Diff: src/debug/debug-interface.h

Issue 2772093002: [inspector] exposed builtins for injected script source (Closed)
Patch Set: removed unused variable Created 3 years, 9 months 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
« no previous file with comments | « src/api.cc ('k') | src/inspector/injected-script-source.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug-interface.h
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
index 61a600922dd15b1bb054893ef666682e0533222e..443e07497db2d16a0bec9a114ad8d80aa106be6c 100644
--- a/src/debug/debug-interface.h
+++ b/src/debug/debug-interface.h
@@ -197,6 +197,16 @@ v8::MaybeLocal<v8::Array> EntriesPreview(Isolate* isolate,
v8::Local<v8::Value> value,
bool* is_key_value);
+enum Builtin {
+ kObjectKeys,
+ kObjectGetPrototypeOf,
+ kObjectGetOwnPropertyDescriptor,
+ kObjectGetOwnPropertyNames,
+ kObjectGetOwnPropertySymbols,
+};
+
+Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin);
+
/**
* Native wrapper around v8::internal::JSGeneratorObject object.
*/
« no previous file with comments | « src/api.cc ('k') | src/inspector/injected-script-source.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698