| OLD | NEW | 
|---|
| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 136   void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); | 136   void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); | 
| 137 | 137 | 
| 138   bool isFunctionBlackboxed(const String16& scriptId, | 138   bool isFunctionBlackboxed(const String16& scriptId, | 
| 139                             const v8::debug::Location& start, | 139                             const v8::debug::Location& start, | 
| 140                             const v8::debug::Location& end); | 140                             const v8::debug::Location& end); | 
| 141 | 141 | 
| 142   bool skipAllPauses() const { return m_skipAllPauses; } | 142   bool skipAllPauses() const { return m_skipAllPauses; } | 
| 143 | 143 | 
| 144   v8::Isolate* isolate() { return m_isolate; } | 144   v8::Isolate* isolate() { return m_isolate; } | 
| 145 | 145 | 
| 146   bool shouldBreakInScheduledAsyncTask(); |  | 
| 147 |  | 
| 148  private: | 146  private: | 
| 149   void enableImpl(); | 147   void enableImpl(); | 
| 150 | 148 | 
| 151   Response currentCallFrames( | 149   Response currentCallFrames( | 
| 152       std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>*); | 150       std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>*); | 
| 153   std::unique_ptr<protocol::Runtime::StackTrace> currentAsyncStackTrace(); | 151   std::unique_ptr<protocol::Runtime::StackTrace> currentAsyncStackTrace(); | 
| 154 | 152 | 
| 155   void setPauseOnExceptionsImpl(int); | 153   void setPauseOnExceptionsImpl(int); | 
| 156 | 154 | 
| 157   std::unique_ptr<protocol::Debugger::Location> resolveBreakpoint( | 155   std::unique_ptr<protocol::Debugger::Location> resolveBreakpoint( | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 197       const String16& breakReason, | 195       const String16& breakReason, | 
| 198       std::unique_ptr<protocol::DictionaryValue> breakAuxData); | 196       std::unique_ptr<protocol::DictionaryValue> breakAuxData); | 
| 199   void popBreakDetails(); | 197   void popBreakDetails(); | 
| 200 | 198 | 
| 201   bool m_skipAllPauses = false; | 199   bool m_skipAllPauses = false; | 
| 202 | 200 | 
| 203   std::unique_ptr<V8Regex> m_blackboxPattern; | 201   std::unique_ptr<V8Regex> m_blackboxPattern; | 
| 204   protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 202   protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 
| 205       m_blackboxedPositions; | 203       m_blackboxedPositions; | 
| 206 | 204 | 
| 207   std::unique_ptr<ScheduleStepIntoAsyncCallback> m_stepIntoAsyncCallback; |  | 
| 208 |  | 
| 209   DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); | 205   DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); | 
| 210 }; | 206 }; | 
| 211 | 207 | 
| 212 }  // namespace v8_inspector | 208 }  // namespace v8_inspector | 
| 213 | 209 | 
| 214 #endif  // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 210 #endif  // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 
| OLD | NEW | 
|---|