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

Side by Side Diff: src/debug/debug-interface.h

Issue 2825903002: [inspector] deduplicate stack frames (Closed)
Patch Set: addressed comments Created 3 years, 8 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/api.cc ('k') | src/inspector/v8-debugger.h » ('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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_DEBUG_DEBUG_INTERFACE_H_ 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_
6 #define V8_DEBUG_DEBUG_INTERFACE_H_ 6 #define V8_DEBUG_DEBUG_INTERFACE_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "include/v8-debug.h" 10 #include "include/v8-debug.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 kObjectGetPrototypeOf, 204 kObjectGetPrototypeOf,
205 kObjectGetOwnPropertyDescriptor, 205 kObjectGetOwnPropertyDescriptor,
206 kObjectGetOwnPropertyNames, 206 kObjectGetOwnPropertyNames,
207 kObjectGetOwnPropertySymbols, 207 kObjectGetOwnPropertySymbols,
208 }; 208 };
209 209
210 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin); 210 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin);
211 211
212 void SetConsoleDelegate(Isolate* isolate, ConsoleDelegate* delegate); 212 void SetConsoleDelegate(Isolate* isolate, ConsoleDelegate* delegate);
213 213
214 int GetStackFrameId(v8::Local<v8::StackFrame> frame);
215
214 /** 216 /**
215 * Native wrapper around v8::internal::JSGeneratorObject object. 217 * Native wrapper around v8::internal::JSGeneratorObject object.
216 */ 218 */
217 class GeneratorObject { 219 class GeneratorObject {
218 public: 220 public:
219 v8::MaybeLocal<debug::Script> Script(); 221 v8::MaybeLocal<debug::Script> Script();
220 v8::Local<v8::Function> Function(); 222 v8::Local<v8::Function> Function();
221 debug::Location SuspendedLocation(); 223 debug::Location SuspendedLocation();
222 bool IsSuspended(); 224 bool IsSuspended();
223 225
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 ~Coverage(); 288 ~Coverage();
287 289
288 private: 290 private:
289 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} 291 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {}
290 i::Coverage* coverage_; 292 i::Coverage* coverage_;
291 }; 293 };
292 } // namespace debug 294 } // namespace debug
293 } // namespace v8 295 } // namespace v8
294 296
295 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 297 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/inspector/v8-debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698