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

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

Issue 2146333003: [DevTools] Replace SetScriptSourceError with ExceptionDetails in protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a Created 4 years, 5 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/V8DebuggerImpl.h" 10 #include "platform/v8_inspector/V8DebuggerImpl.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const Maybe<bool>& optionalIsRegex, 79 const Maybe<bool>& optionalIsRegex,
80 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*) over ride; 80 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*) over ride;
81 void canSetScriptSource(ErrorString*, bool* result) override { *result = tru e; } 81 void canSetScriptSource(ErrorString*, bool* result) override { *result = tru e; }
82 void setScriptSource(ErrorString*, 82 void setScriptSource(ErrorString*,
83 const String16& inScriptId, 83 const String16& inScriptId,
84 const String16& inScriptSource, 84 const String16& inScriptSource,
85 const Maybe<bool>& inPreview, 85 const Maybe<bool>& inPreview,
86 Maybe<protocol::Array<protocol::Debugger::CallFrame>>* optOutCallFrames, 86 Maybe<protocol::Array<protocol::Debugger::CallFrame>>* optOutCallFrames,
87 Maybe<bool>* optOutStackChanged, 87 Maybe<bool>* optOutStackChanged,
88 Maybe<protocol::Runtime::StackTrace>* optOutAsyncStackTrace, 88 Maybe<protocol::Runtime::StackTrace>* optOutAsyncStackTrace,
89 Maybe<protocol::Debugger::SetScriptSourceError>* optOutCompileError) ove rride; 89 Maybe<protocol::Runtime::ExceptionDetails>* optOutCompileError) override ;
90 void restartFrame(ErrorString*, 90 void restartFrame(ErrorString*,
91 const String16& callFrameId, 91 const String16& callFrameId,
92 std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>* newCall Frames, 92 std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>* newCall Frames,
93 Maybe<protocol::Runtime::StackTrace>* asyncStackTrace) override; 93 Maybe<protocol::Runtime::StackTrace>* asyncStackTrace) override;
94 void getScriptSource(ErrorString*, const String16& scriptId, String16* scrip tSource) override; 94 void getScriptSource(ErrorString*, const String16& scriptId, String16* scrip tSource) override;
95 void pause(ErrorString*) override; 95 void pause(ErrorString*) override;
96 void resume(ErrorString*) override; 96 void resume(ErrorString*) override;
97 void stepOver(ErrorString*) override; 97 void stepOver(ErrorString*) override;
98 void stepInto(ErrorString*) override; 98 void stepInto(ErrorString*) override;
99 void stepOut(ErrorString*) override; 99 void stepOut(ErrorString*) override;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 bool m_skipAllPauses; 210 bool m_skipAllPauses;
211 211
212 std::unique_ptr<V8Regex> m_blackboxPattern; 212 std::unique_ptr<V8Regex> m_blackboxPattern;
213 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo sitions; 213 protocol::HashMap<String16, std::vector<std::pair<int, int>>> m_blackboxedPo sitions;
214 }; 214 };
215 215
216 } // namespace blink 216 } // namespace blink
217 217
218 218
219 #endif // V8DebuggerAgentImpl_h 219 #endif // V8DebuggerAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698