| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 void handleV8DebugEvent(const v8::Debug::EventDetails&); | 170 void handleV8DebugEvent(const v8::Debug::EventDetails&); |
| 171 | 171 |
| 172 v8::Local<v8::String> v8InternalizedString(const char*) const; | 172 v8::Local<v8::String> v8InternalizedString(const char*) const; |
| 173 | 173 |
| 174 void handleV8AsyncTaskEvent(v8::Local<v8::Context>, v8::Local<v8::Object> ex
ecutionState, v8::Local<v8::Object> eventData); | 174 void handleV8AsyncTaskEvent(v8::Local<v8::Context>, v8::Local<v8::Object> ex
ecutionState, v8::Local<v8::Object> eventData); |
| 175 | 175 |
| 176 using ContextsByGroupMap = protocol::HashMap<int, std::unique_ptr<ContextByI
dMap>>; | 176 using ContextsByGroupMap = protocol::HashMap<int, std::unique_ptr<ContextByI
dMap>>; |
| 177 | 177 |
| 178 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Context>, v8::Local<v8:
:Object>); | 178 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Context>, v8::Local<v8:
:Object>); |
| 179 v8::Local<v8::Value> generatorObjectLocation(v8::Local<v8::Object>); | 179 v8::Local<v8::Value> generatorObjectLocation(v8::Local<v8::Object>); |
| 180 v8::Local<v8::Value> functionLocation(v8::Local<v8::Context>, v8::Local<v8::
Function>); |
| 180 | 181 |
| 181 v8::Isolate* m_isolate; | 182 v8::Isolate* m_isolate; |
| 182 V8DebuggerClient* m_client; | 183 V8DebuggerClient* m_client; |
| 183 ContextsByGroupMap m_contexts; | 184 ContextsByGroupMap m_contexts; |
| 184 using SessionMap = protocol::HashMap<int, V8InspectorSessionImpl*>; | 185 using SessionMap = protocol::HashMap<int, V8InspectorSessionImpl*>; |
| 185 SessionMap m_sessions; | 186 SessionMap m_sessions; |
| 186 using ConsoleStorageMap = protocol::HashMap<int, std::unique_ptr<V8ConsoleMe
ssageStorage>>; | 187 using ConsoleStorageMap = protocol::HashMap<int, std::unique_ptr<V8ConsoleMe
ssageStorage>>; |
| 187 ConsoleStorageMap m_consoleStorageMap; | 188 ConsoleStorageMap m_consoleStorageMap; |
| 188 int m_capturingStackTracesCount; | 189 int m_capturingStackTracesCount; |
| 189 int m_muteConsoleCount; | 190 int m_muteConsoleCount; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 203 int m_maxAsyncCallStackDepth; | 204 int m_maxAsyncCallStackDepth; |
| 204 std::vector<void*> m_currentTasks; | 205 std::vector<void*> m_currentTasks; |
| 205 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; | 206 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; |
| 206 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; | 207 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; |
| 207 }; | 208 }; |
| 208 | 209 |
| 209 } // namespace blink | 210 } // namespace blink |
| 210 | 211 |
| 211 | 212 |
| 212 #endif // V8DebuggerImpl_h | 213 #endif // V8DebuggerImpl_h |
| OLD | NEW |