Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h |
index 8244e4b453cfbf7cb4f035df60fd3b72e6d0efcd..0d70054060e42739ca2ba10b3ef1326d0dcf50d4 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h |
@@ -120,6 +120,9 @@ public: |
void disconnect(V8InspectorSessionImpl*); |
V8InspectorSessionImpl* sessionForContextGroup(int contextGroupId); |
+ v8::MaybeLocal<v8::FunctionTemplate> functionTemplate(const String16& name); |
+ void setFunctionTemplate(const String16& name, v8::Local<v8::FunctionTemplate>); |
+ |
private: |
void enable(); |
void disable(); |
@@ -158,6 +161,8 @@ private: |
v8::Local<v8::Context> m_pausedContext; |
bool m_runningNestedMessageLoop; |
v8::Global<v8::Context> m_regexContext; |
+ using FunctionTemplateMap = protocol::HashMap<String16, OwnPtr<v8::Global<v8::FunctionTemplate>>>; |
+ FunctionTemplateMap m_templates; |
}; |
} // namespace blink |