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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 void asyncTaskStarted(void* task) override; | 83 void asyncTaskStarted(void* task) override; |
84 void asyncTaskFinished(void* task) override; | 84 void asyncTaskFinished(void* task) override; |
85 void allAsyncTasksCanceled() override; | 85 void allAsyncTasksCanceled() override; |
86 | 86 |
87 unsigned nextExceptionId() { return ++m_lastExceptionId; } | 87 unsigned nextExceptionId() { return ++m_lastExceptionId; } |
88 void enableStackCapturingIfNeeded(); | 88 void enableStackCapturingIfNeeded(); |
89 void disableStackCapturingIfNeeded(); | 89 void disableStackCapturingIfNeeded(); |
90 void muteExceptions(int contextGroupId); | 90 void muteExceptions(int contextGroupId); |
91 void unmuteExceptions(int contextGroupId); | 91 void unmuteExceptions(int contextGroupId); |
92 V8ConsoleMessageStorage* ensureConsoleMessageStorage(int contextGroupId); | 92 V8ConsoleMessageStorage* ensureConsoleMessageStorage(int contextGroupId); |
| 93 bool hasConsoleMessageStorage(int contextGroupId); |
93 using ContextByIdMap = protocol::HashMap<int, std::unique_ptr<InspectedConte
xt>>; | 94 using ContextByIdMap = protocol::HashMap<int, std::unique_ptr<InspectedConte
xt>>; |
94 void discardInspectedContext(int contextGroupId, int contextId); | 95 void discardInspectedContext(int contextGroupId, int contextId); |
95 const ContextByIdMap* contextGroup(int contextGroupId); | 96 const ContextByIdMap* contextGroup(int contextGroupId); |
96 void disconnect(V8InspectorSessionImpl*); | 97 void disconnect(V8InspectorSessionImpl*); |
97 V8InspectorSessionImpl* sessionForContextGroup(int contextGroupId); | 98 V8InspectorSessionImpl* sessionForContextGroup(int contextGroupId); |
98 InspectedContext* getContext(int groupId, int contextId) const; | 99 InspectedContext* getContext(int groupId, int contextId) const; |
99 V8DebuggerAgentImpl* enabledDebuggerAgentForGroup(int contextGroupId); | 100 V8DebuggerAgentImpl* enabledDebuggerAgentForGroup(int contextGroupId); |
100 V8RuntimeAgentImpl* enabledRuntimeAgentForGroup(int contextGroupId); | 101 V8RuntimeAgentImpl* enabledRuntimeAgentForGroup(int contextGroupId); |
101 | 102 |
102 private: | 103 private: |
(...skipping 14 matching lines...) Expand all Loading... |
117 SessionMap m_sessions; | 118 SessionMap m_sessions; |
118 | 119 |
119 using ConsoleStorageMap = protocol::HashMap<int, std::unique_ptr<V8ConsoleMe
ssageStorage>>; | 120 using ConsoleStorageMap = protocol::HashMap<int, std::unique_ptr<V8ConsoleMe
ssageStorage>>; |
120 ConsoleStorageMap m_consoleStorageMap; | 121 ConsoleStorageMap m_consoleStorageMap; |
121 }; | 122 }; |
122 | 123 |
123 } // namespace v8_inspector | 124 } // namespace v8_inspector |
124 | 125 |
125 | 126 |
126 #endif // V8InspectorImpl_h | 127 #endif // V8InspectorImpl_h |
OLD | NEW |