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

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

Issue 2465553003: [inspector] added Debugger.getPossibleBreakpoints method (Closed)
Patch Set: addressed comments Created 4 years, 1 month 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 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const Maybe<String16>& optionalURLRegex, 58 const Maybe<String16>& optionalURLRegex,
59 const Maybe<int>& optionalColumnNumber, 59 const Maybe<int>& optionalColumnNumber,
60 const Maybe<String16>& optionalCondition, String16*, 60 const Maybe<String16>& optionalCondition, String16*,
61 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* locations) 61 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* locations)
62 override; 62 override;
63 void setBreakpoint( 63 void setBreakpoint(
64 ErrorString*, std::unique_ptr<protocol::Debugger::Location>, 64 ErrorString*, std::unique_ptr<protocol::Debugger::Location>,
65 const Maybe<String16>& optionalCondition, String16*, 65 const Maybe<String16>& optionalCondition, String16*,
66 std::unique_ptr<protocol::Debugger::Location>* actualLocation) override; 66 std::unique_ptr<protocol::Debugger::Location>* actualLocation) override;
67 void removeBreakpoint(ErrorString*, const String16& breakpointId) override; 67 void removeBreakpoint(ErrorString*, const String16& breakpointId) override;
68 void getPossibleBreakpoints(
69 ErrorString*, std::unique_ptr<protocol::Debugger::Location> start,
70 const Maybe<protocol::Debugger::Location>& end,
71 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* locations)
72 override;
68 void continueToLocation( 73 void continueToLocation(
69 ErrorString*, std::unique_ptr<protocol::Debugger::Location>) override; 74 ErrorString*, std::unique_ptr<protocol::Debugger::Location>) override;
70 void searchInContent( 75 void searchInContent(
71 ErrorString*, const String16& scriptId, const String16& query, 76 ErrorString*, const String16& scriptId, const String16& query,
72 const Maybe<bool>& optionalCaseSensitive, 77 const Maybe<bool>& optionalCaseSensitive,
73 const Maybe<bool>& optionalIsRegex, 78 const Maybe<bool>& optionalIsRegex,
74 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*) 79 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*)
75 override; 80 override;
76 void setScriptSource( 81 void setScriptSource(
77 ErrorString*, const String16& inScriptId, const String16& inScriptSource, 82 ErrorString*, const String16& inScriptId, const String16& inScriptSource,
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 std::unique_ptr<V8Regex> m_blackboxPattern; 220 std::unique_ptr<V8Regex> m_blackboxPattern;
216 protocol::HashMap<String16, std::vector<std::pair<int, int>>> 221 protocol::HashMap<String16, std::vector<std::pair<int, int>>>
217 m_blackboxedPositions; 222 m_blackboxedPositions;
218 223
219 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); 224 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl);
220 }; 225 };
221 226
222 } // namespace v8_inspector 227 } // namespace v8_inspector
223 228
224 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ 229 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698