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

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

Issue 2624543004: [inspector] unconditionally pause on OOM (Closed)
Patch Set: rebased Created 3 years, 11 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 | « src/inspector/v8-debugger.cc ('k') | 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 std::unique_ptr<protocol::DictionaryValue> data); 130 std::unique_ptr<protocol::DictionaryValue> data);
131 void breakProgramOnException(const String16& breakReason, 131 void breakProgramOnException(const String16& breakReason,
132 std::unique_ptr<protocol::DictionaryValue> data); 132 std::unique_ptr<protocol::DictionaryValue> data);
133 133
134 void reset(); 134 void reset();
135 135
136 // Interface for V8InspectorImpl 136 // Interface for V8InspectorImpl
137 SkipPauseRequest didPause(v8::Local<v8::Context>, 137 SkipPauseRequest didPause(v8::Local<v8::Context>,
138 v8::Local<v8::Value> exception, 138 v8::Local<v8::Value> exception,
139 const std::vector<String16>& hitBreakpoints, 139 const std::vector<String16>& hitBreakpoints,
140 bool isPromiseRejection, bool isUncaught); 140 bool isPromiseRejection, bool isUncaught,
141 bool isOOMBreak);
141 void didContinue(); 142 void didContinue();
142 void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); 143 void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success);
143 void willExecuteScript(int scriptId); 144 void willExecuteScript(int scriptId);
144 void didExecuteScript(); 145 void didExecuteScript();
145 146
146 v8::Isolate* isolate() { return m_isolate; } 147 v8::Isolate* isolate() { return m_isolate; }
147 148
148 private: 149 private:
149 void enableImpl(); 150 void enableImpl();
150 151
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 std::unique_ptr<V8Regex> m_blackboxPattern; 215 std::unique_ptr<V8Regex> m_blackboxPattern;
215 protocol::HashMap<String16, std::vector<std::pair<int, int>>> 216 protocol::HashMap<String16, std::vector<std::pair<int, int>>>
216 m_blackboxedPositions; 217 m_blackboxedPositions;
217 218
218 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); 219 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl);
219 }; 220 };
220 221
221 } // namespace v8_inspector 222 } // namespace v8_inspector
222 223
223 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ 224 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_
OLDNEW
« no previous file with comments | « src/inspector/v8-debugger.cc ('k') | src/inspector/v8-debugger-agent-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698