Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h

Issue 2012523002: DevTools: migrate off ASSERT in inspector protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8DebuggerAgentImpl_h 5 #ifndef V8DebuggerAgentImpl_h
6 #define V8DebuggerAgentImpl_h 6 #define V8DebuggerAgentImpl_h
7 7
8 #include "platform/inspector_protocol/Backend.h" 8 #include "platform/inspector_protocol/Backend.h"
9 #include "platform/inspector_protocol/Collections.h" 9 #include "platform/inspector_protocol/Collections.h"
10 #include "platform/inspector_protocol/Frontend.h" 10 #include "platform/inspector_protocol/Frontend.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 int m_skippedStepFrameCount; 226 int m_skippedStepFrameCount;
227 int m_recursionLevelForStepOut; 227 int m_recursionLevelForStepOut;
228 int m_recursionLevelForStepFrame; 228 int m_recursionLevelForStepFrame;
229 bool m_skipAllPauses; 229 bool m_skipAllPauses;
230 230
231 using AsyncTaskToStackTrace = protocol::HashMap<void*, std::unique_ptr<V8Sta ckTraceImpl>>; 231 using AsyncTaskToStackTrace = protocol::HashMap<void*, std::unique_ptr<V8Sta ckTraceImpl>>;
232 AsyncTaskToStackTrace m_asyncTaskStacks; 232 AsyncTaskToStackTrace m_asyncTaskStacks;
233 protocol::HashSet<void*> m_recurringTasks; 233 protocol::HashSet<void*> m_recurringTasks;
234 int m_maxAsyncCallStackDepth; 234 int m_maxAsyncCallStackDepth;
235 #if ENABLE(ASSERT)
236 protocol::Vector<void*> m_currentTasks; 235 protocol::Vector<void*> m_currentTasks;
237 #endif
238 protocol::Vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; 236 protocol::Vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks;
239 std::unique_ptr<V8Regex> m_blackboxPattern; 237 std::unique_ptr<V8Regex> m_blackboxPattern;
240 protocol::HashMap<String16, protocol::Vector<std::pair<int, int>>> m_blackbo xedPositions; 238 protocol::HashMap<String16, protocol::Vector<std::pair<int, int>>> m_blackbo xedPositions;
241 }; 239 };
242 240
243 } // namespace blink 241 } // namespace blink
244 242
245 243
246 #endif // V8DebuggerAgentImpl_h 244 #endif // V8DebuggerAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698