| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 protocol::HashMap<int, std::unique_ptr<InspectedContext>>; | 119 protocol::HashMap<int, std::unique_ptr<InspectedContext>>; |
| 120 void discardInspectedContext(int contextGroupId, int contextId); | 120 void discardInspectedContext(int contextGroupId, int contextId); |
| 121 const ContextByIdMap* contextGroup(int contextGroupId); | 121 const ContextByIdMap* contextGroup(int contextGroupId); |
| 122 void disconnect(V8InspectorSessionImpl*); | 122 void disconnect(V8InspectorSessionImpl*); |
| 123 V8InspectorSessionImpl* sessionForContextGroup(int contextGroupId); | 123 V8InspectorSessionImpl* sessionForContextGroup(int contextGroupId); |
| 124 InspectedContext* getContext(int groupId, int contextId) const; | 124 InspectedContext* getContext(int groupId, int contextId) const; |
| 125 V8DebuggerAgentImpl* enabledDebuggerAgentForGroup(int contextGroupId); | 125 V8DebuggerAgentImpl* enabledDebuggerAgentForGroup(int contextGroupId); |
| 126 V8RuntimeAgentImpl* enabledRuntimeAgentForGroup(int contextGroupId); | 126 V8RuntimeAgentImpl* enabledRuntimeAgentForGroup(int contextGroupId); |
| 127 V8ProfilerAgentImpl* enabledProfilerAgentForGroup(int contextGroupId); | 127 V8ProfilerAgentImpl* enabledProfilerAgentForGroup(int contextGroupId); |
| 128 | 128 |
| 129 V8_EXPORT void setMaxAsyncTaskStacksForTest(int limit); |
| 130 |
| 129 private: | 131 private: |
| 130 v8::MaybeLocal<v8::Value> callFunction( | 132 v8::MaybeLocal<v8::Value> callFunction( |
| 131 v8::Local<v8::Function>, v8::Local<v8::Context>, | 133 v8::Local<v8::Function>, v8::Local<v8::Context>, |
| 132 v8::Local<v8::Value> receiver, int argc, v8::Local<v8::Value> info[], | 134 v8::Local<v8::Value> receiver, int argc, v8::Local<v8::Value> info[], |
| 133 v8::MicrotasksScope::Type runMicrotasks); | 135 v8::MicrotasksScope::Type runMicrotasks); |
| 134 | 136 |
| 135 v8::Isolate* m_isolate; | 137 v8::Isolate* m_isolate; |
| 136 V8InspectorClient* m_client; | 138 V8InspectorClient* m_client; |
| 137 std::unique_ptr<V8Debugger> m_debugger; | 139 std::unique_ptr<V8Debugger> m_debugger; |
| 138 v8::Global<v8::Context> m_regexContext; | 140 v8::Global<v8::Context> m_regexContext; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 155 ConsoleStorageMap m_consoleStorageMap; | 157 ConsoleStorageMap m_consoleStorageMap; |
| 156 | 158 |
| 157 protocol::HashMap<int, int> m_contextIdToGroupIdMap; | 159 protocol::HashMap<int, int> m_contextIdToGroupIdMap; |
| 158 | 160 |
| 159 DISALLOW_COPY_AND_ASSIGN(V8InspectorImpl); | 161 DISALLOW_COPY_AND_ASSIGN(V8InspectorImpl); |
| 160 }; | 162 }; |
| 161 | 163 |
| 162 } // namespace v8_inspector | 164 } // namespace v8_inspector |
| 163 | 165 |
| 164 #endif // V8_INSPECTOR_V8INSPECTORIMPL_H_ | 166 #endif // V8_INSPECTOR_V8INSPECTORIMPL_H_ |
| OLD | NEW |