| 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 1d2059e0fffbe1a8ac44951e9123e4a3c7ab5c79..11e00b965b7de4d4a22490ec9b2b447a7ba87a73 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h
|
| @@ -119,6 +119,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();
|
| @@ -157,6 +160,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
|
|
|