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 13d2143ee155e84a0cefb7f3191b9bac6d18f847..2e76f9ddbc15c621591b33a16b2b83a15719279c 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h |
@@ -161,9 +161,11 @@ public: |
void flushAsyncOperationEvents(ErrorString*) override; |
void setAsyncOperationBreakpoint(ErrorString*, int operationId) override; |
void removeAsyncOperationBreakpoint(ErrorString*, int operationId) override; |
- void setBlackboxedRanges(ErrorString*, |
- const String& scriptId, |
+ void setBlackboxRanges(ErrorString*, |
+ const String& hash, |
PassOwnPtr<protocol::Array<protocol::Debugger::ScriptPosition>> positions) override; |
+ void setBlackboxPatterns(ErrorString*, |
+ PassOwnPtr<protocol::Array<protocol::Debugger::BlackboxPattern>> patterns) override; |
void schedulePauseOnNextStatement(const String& breakReason, PassOwnPtr<protocol::DictionaryValue> data) override; |
void cancelPauseOnNextStatement() override; |
@@ -232,7 +234,8 @@ private: |
bool isCallFrameWithUnknownScriptOrBlackboxed(PassRefPtr<JavaScriptCallFrame>); |
void internalSetAsyncCallStackDepth(int); |
- void increaseCachedSkipStackGeneration(); |
+ |
+ void restoreBlackboxState(); |
using ScriptsMap = HashMap<String, V8DebuggerScript>; |
using BreakpointIdToDebuggerBreakpointIdsMap = HashMap<String, Vector<String>>; |
@@ -290,7 +293,10 @@ private: |
int m_currentAsyncOperationId; |
bool m_pendingTraceAsyncOperationCompleted; |
bool m_startingStepIntoAsync; |
- HashMap<String, Vector<std::pair<int, int>>> m_blackboxedPositions; |
+ |
+ HashSet<String> m_loadedScriptHashes; |
+ HashMap<String, Vector<std::pair<int, int>>> m_hashToBlackboxPositions; |
+ String m_blackboxPattern; |
}; |
} // namespace blink |