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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8Console.h

Issue 2030453002: [DevTools] Support CommandLineAPI in workers and Node.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/Source/platform/v8_inspector/V8Console.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Console.h b/third_party/WebKit/Source/platform/v8_inspector/V8Console.h
index 1080baa60a7c31b206c1d627f8d6c22c9d9d78e5..91f0e5b97cef50b3ca4c3752af5b2521aba8d3e2 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8Console.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8Console.h
@@ -16,7 +16,11 @@ class InspectedContext;
class V8Console {
public:
static v8::Local<v8::Object> createConsole(InspectedContext*, bool hasMemoryAttribute);
+
static v8::Local<v8::Object> createCommandLineAPI(InspectedContext*);
+ static v8::Local<v8::Object> installCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::Object>, v8::Local<v8::Object> commandLineAPI);
+ static void clearCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::Object>, v8::Local<v8::Object> installedMethods);
dgozman 2016/06/01 01:25:40 - let's name second parameter "global"; - let's us
kozy 2016/06/01 18:49:22 Done.
+
static void clearInspectedContextIfNeeded(v8::Local<v8::Context>, v8::Local<v8::Object> console);
private:

Powered by Google App Engine
This is Rietveld 408576698