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

Side by Side Diff: src/inspector/v8-debugger-agent-impl.h

Issue 2743163002: [inspector] use same schedulePauseOnNextStatement strategy for Debugger.pause (Closed)
Patch Set: better test Created 3 years, 9 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
« no previous file with comments | « no previous file | src/inspector/v8-debugger-agent-impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project 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 V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ 5 #ifndef V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_
6 #define V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ 6 #define V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/base/macros.h" 10 #include "src/base/macros.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 using BreakReason = 192 using BreakReason =
193 std::pair<String16, std::unique_ptr<protocol::DictionaryValue>>; 193 std::pair<String16, std::unique_ptr<protocol::DictionaryValue>>;
194 std::vector<BreakReason> m_breakReason; 194 std::vector<BreakReason> m_breakReason;
195 195
196 void pushBreakDetails( 196 void pushBreakDetails(
197 const String16& breakReason, 197 const String16& breakReason,
198 std::unique_ptr<protocol::DictionaryValue> breakAuxData); 198 std::unique_ptr<protocol::DictionaryValue> breakAuxData);
199 void popBreakDetails(); 199 void popBreakDetails();
200 200
201 bool m_javaScriptPauseScheduled;
202 bool m_skipAllPauses = false; 201 bool m_skipAllPauses = false;
203 202
204 std::unique_ptr<V8Regex> m_blackboxPattern; 203 std::unique_ptr<V8Regex> m_blackboxPattern;
205 protocol::HashMap<String16, std::vector<std::pair<int, int>>> 204 protocol::HashMap<String16, std::vector<std::pair<int, int>>>
206 m_blackboxedPositions; 205 m_blackboxedPositions;
207 206
208 std::unique_ptr<ScheduleStepIntoAsyncCallback> m_stepIntoAsyncCallback; 207 std::unique_ptr<ScheduleStepIntoAsyncCallback> m_stepIntoAsyncCallback;
209 208
210 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); 209 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl);
211 }; 210 };
212 211
213 } // namespace v8_inspector 212 } // namespace v8_inspector
214 213
215 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ 214 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_
OLDNEW
« no previous file with comments | « no previous file | src/inspector/v8-debugger-agent-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698