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

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

Issue 2219393003: DevTools: Runtime.compileScript with persistScript = false should not report script (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 4 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/Collections.h" 8 #include "platform/inspector_protocol/Collections.h"
9 #include "platform/inspector_protocol/String16.h" 9 #include "platform/inspector_protocol/String16.h"
10 #include "platform/v8_inspector/JavaScriptCallFrame.h" 10 #include "platform/v8_inspector/JavaScriptCallFrame.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 std::unique_ptr<protocol::Array<protocol::Debugger::ScriptPosition>> pos itions) override; 126 std::unique_ptr<protocol::Array<protocol::Debugger::ScriptPosition>> pos itions) override;
127 127
128 bool enabled(); 128 bool enabled();
129 129
130 void setBreakpointAt(const String16& scriptId, int lineNumber, int columnNum ber, BreakpointSource, const String16& condition = String16()); 130 void setBreakpointAt(const String16& scriptId, int lineNumber, int columnNum ber, BreakpointSource, const String16& condition = String16());
131 void removeBreakpointAt(const String16& scriptId, int lineNumber, int column Number, BreakpointSource); 131 void removeBreakpointAt(const String16& scriptId, int lineNumber, int column Number, BreakpointSource);
132 void schedulePauseOnNextStatement(const String16& breakReason, std::unique_p tr<protocol::DictionaryValue> data); 132 void schedulePauseOnNextStatement(const String16& breakReason, std::unique_p tr<protocol::DictionaryValue> data);
133 void cancelPauseOnNextStatement(); 133 void cancelPauseOnNextStatement();
134 void breakProgram(const String16& breakReason, std::unique_ptr<protocol::Dic tionaryValue> data); 134 void breakProgram(const String16& breakReason, std::unique_ptr<protocol::Dic tionaryValue> data);
135 void breakProgramOnException(const String16& breakReason, std::unique_ptr<pr otocol::DictionaryValue> data); 135 void breakProgramOnException(const String16& breakReason, std::unique_ptr<pr otocol::DictionaryValue> data);
136 void setIgnoreScriptParsedEvents(bool);
136 137
137 void reset(); 138 void reset();
138 139
139 // Interface for V8InspectorImpl 140 // Interface for V8InspectorImpl
140 SkipPauseRequest didPause(v8::Local<v8::Context>, v8::Local<v8::Value> excep tion, const std::vector<String16>& hitBreakpoints, bool isPromiseRejection); 141 SkipPauseRequest didPause(v8::Local<v8::Context>, v8::Local<v8::Value> excep tion, const std::vector<String16>& hitBreakpoints, bool isPromiseRejection);
141 void didContinue(); 142 void didContinue();
142 void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); 143 void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success);
143 void willExecuteScript(int scriptId); 144 void willExecuteScript(int scriptId);
144 void didExecuteScript(); 145 void didExecuteScript();
145 146
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 bool m_skipAllPauses; 215 bool m_skipAllPauses;
215 216
216 std::unique_ptr<V8Regex> m_blackboxPattern; 217 std::unique_ptr<V8Regex> m_blackboxPattern;
217 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo sitions; 218 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo sitions;
218 }; 219 };
219 220
220 } // namespace blink 221 } // namespace blink
221 222
222 223
223 #endif // V8DebuggerAgentImpl_h 224 #endif // V8DebuggerAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698