Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h |
index e28dfaf90f826858b1ffa65d465d846088552ce4..37b3eb5dd7ad71849a8e0fa1b48c489c66fefcc7 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h |
@@ -153,9 +153,9 @@ public: |
void flushAsyncOperationEvents(ErrorString*) override; |
void setAsyncOperationBreakpoint(ErrorString*, int operationId) override; |
void removeAsyncOperationBreakpoint(ErrorString*, int operationId) override; |
- void setBlackboxedRanges(ErrorString*, |
- const String& scriptId, |
- PassOwnPtr<protocol::Array<protocol::Debugger::ScriptPosition>> positions) override; |
+ void addBlackboxPatterns(ErrorString*, |
+ PassOwnPtr<protocol::Array<protocol::Debugger::BlackboxPattern>>) override; |
+ void clearBlackboxPatterns(ErrorString*) override; |
void schedulePauseOnNextStatement(const String& breakReason, PassOwnPtr<protocol::DictionaryValue> data) override; |
void cancelPauseOnNextStatement() override; |
@@ -223,7 +223,8 @@ private: |
bool isCallFrameWithUnknownScriptOrBlackboxed(JavaScriptCallFrame*); |
void internalSetAsyncCallStackDepth(int); |
- void increaseCachedSkipStackGeneration(); |
+ |
+ void restoreBlackboxState(); |
using ScriptsMap = protocol::HashMap<String, V8DebuggerScript>; |
using BreakpointIdToDebuggerBreakpointIdsMap = protocol::HashMap<String, protocol::Vector<String>>; |
@@ -280,7 +281,9 @@ private: |
int m_currentAsyncOperationId; |
bool m_pendingTraceAsyncOperationCompleted; |
bool m_startingStepIntoAsync; |
- protocol::HashMap<String, protocol::Vector<std::pair<int, int>>> m_blackboxedPositions; |
+ |
+ protocol::HashMap<String, protocol::Vector<std::pair<int, int>>> m_scriptToBlackboxPositions; |
+ String m_blackboxRegexpPattern; |
}; |
} // namespace blink |