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

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

Issue 1809073003: [DevTools] Move callFunctionOn to native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-evaluate-v2
Patch Set: Created 4 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
Index: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
index a031e452d781beda99e0ae526cfd8f4e83078c65..fcb7d1b1042e33a131a9ded40343a243d7d0937f 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
@@ -39,6 +39,7 @@ namespace blink {
class InjectedScript;
class InjectedScriptManager;
+class RemoteObjectIdBase;
class V8DebuggerImpl;
namespace protocol {
@@ -129,6 +130,14 @@ public:
void addInspectedObject(PassOwnPtr<Inspectable>) override;
void clearInspectedObjects() override;
private:
+ v8::MaybeLocal<v8::Function> compileFunction(ErrorString*,
+ RemoteObjectIdBase*,
+ const String16& expression,
+ const String16& objectGroupName,
+ v8::MaybeLocal<v8::Object> extension,
+ OwnPtr<protocol::Runtime::RemoteObject>* result,
+ Maybe<bool>* wasThrown);
+
int m_contextGroupId;
protocol::DictionaryValue* m_state;
protocol::Frontend::Runtime* m_frontend;

Powered by Google App Engine
This is Rietveld 408576698