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

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

Issue 2234703003: [DevTools] Removed Debugger.canSetScriptSource & Debugger.getBacktrace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 String16*, 65 String16*,
66 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* location s) override; 66 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* location s) override;
67 void setBreakpoint(ErrorString*, 67 void setBreakpoint(ErrorString*,
68 std::unique_ptr<protocol::Debugger::Location>, 68 std::unique_ptr<protocol::Debugger::Location>,
69 const Maybe<String16>& optionalCondition, 69 const Maybe<String16>& optionalCondition,
70 String16*, 70 String16*,
71 std::unique_ptr<protocol::Debugger::Location>* actualLocation) override; 71 std::unique_ptr<protocol::Debugger::Location>* actualLocation) override;
72 void removeBreakpoint(ErrorString*, const String16& breakpointId) override; 72 void removeBreakpoint(ErrorString*, const String16& breakpointId) override;
73 void continueToLocation(ErrorString*, 73 void continueToLocation(ErrorString*,
74 std::unique_ptr<protocol::Debugger::Location>) override; 74 std::unique_ptr<protocol::Debugger::Location>) override;
75 void getBacktrace(ErrorString*,
76 std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>*,
77 Maybe<protocol::Runtime::StackTrace>*) override;
78 void searchInContent(ErrorString*, 75 void searchInContent(ErrorString*,
79 const String16& scriptId, 76 const String16& scriptId,
80 const String16& query, 77 const String16& query,
81 const Maybe<bool>& optionalCaseSensitive, 78 const Maybe<bool>& optionalCaseSensitive,
82 const Maybe<bool>& optionalIsRegex, 79 const Maybe<bool>& optionalIsRegex,
83 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*) over ride; 80 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*) over ride;
84 void canSetScriptSource(ErrorString*, bool* result) override { *result = tru e; }
85 void setScriptSource(ErrorString*, 81 void setScriptSource(ErrorString*,
86 const String16& inScriptId, 82 const String16& inScriptId,
87 const String16& inScriptSource, 83 const String16& inScriptSource,
88 const Maybe<bool>& inPreview, 84 const Maybe<bool>& inPreview,
89 Maybe<protocol::Array<protocol::Debugger::CallFrame>>* optOutCallFrames, 85 Maybe<protocol::Array<protocol::Debugger::CallFrame>>* optOutCallFrames,
90 Maybe<bool>* optOutStackChanged, 86 Maybe<bool>* optOutStackChanged,
91 Maybe<protocol::Runtime::StackTrace>* optOutAsyncStackTrace, 87 Maybe<protocol::Runtime::StackTrace>* optOutAsyncStackTrace,
92 Maybe<protocol::Runtime::ExceptionDetails>* optOutCompileError) override ; 88 Maybe<protocol::Runtime::ExceptionDetails>* optOutCompileError) override ;
93 void restartFrame(ErrorString*, 89 void restartFrame(ErrorString*,
94 const String16& callFrameId, 90 const String16& callFrameId,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 bool m_skipAllPauses; 209 bool m_skipAllPauses;
214 210
215 std::unique_ptr<V8Regex> m_blackboxPattern; 211 std::unique_ptr<V8Regex> m_blackboxPattern;
216 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo sitions; 212 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo sitions;
217 }; 213 };
218 214
219 } // namespace blink 215 } // namespace blink
220 216
221 217
222 #endif // V8DebuggerAgentImpl_h 218 #endif // V8DebuggerAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698