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