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

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

Issue 2623313005: [inspector] introduced debug::SetAsyncTaskListener (Closed)
Patch Set: added missing header 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/debug/debug-interface.h ('k') | src/inspector/v8-debugger.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 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_INSPECTOR_V8DEBUGGER_H_ 5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_
6 #define V8_INSPECTOR_V8DEBUGGER_H_ 6 #define V8_INSPECTOR_V8DEBUGGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/base/macros.h" 10 #include "src/base/macros.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void handleProgramBreak(v8::Local<v8::Context> pausedContext, 107 void handleProgramBreak(v8::Local<v8::Context> pausedContext,
108 v8::Local<v8::Object> executionState, 108 v8::Local<v8::Object> executionState,
109 v8::Local<v8::Value> exception, 109 v8::Local<v8::Value> exception,
110 v8::Local<v8::Array> hitBreakpoints, 110 v8::Local<v8::Array> hitBreakpoints,
111 bool isPromiseRejection = false, 111 bool isPromiseRejection = false,
112 bool isUncaught = false); 112 bool isUncaught = false);
113 static void v8DebugEventCallback(const v8::debug::EventDetails&); 113 static void v8DebugEventCallback(const v8::debug::EventDetails&);
114 v8::Local<v8::Value> callInternalGetterFunction(v8::Local<v8::Object>, 114 v8::Local<v8::Value> callInternalGetterFunction(v8::Local<v8::Object>,
115 const char* functionName); 115 const char* functionName);
116 void handleV8DebugEvent(const v8::debug::EventDetails&); 116 void handleV8DebugEvent(const v8::debug::EventDetails&);
117 void handleV8AsyncTaskEvent(v8::Local<v8::Object> eventData); 117 static void v8AsyncTaskListener(v8::debug::PromiseDebugActionType type,
118 int id, void* data);
118 119
119 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Context>, 120 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Context>,
120 v8::Local<v8::Object>); 121 v8::Local<v8::Object>);
121 v8::Local<v8::Value> generatorObjectLocation(v8::Local<v8::Context>, 122 v8::Local<v8::Value> generatorObjectLocation(v8::Local<v8::Context>,
122 v8::Local<v8::Object>); 123 v8::Local<v8::Object>);
123 v8::Local<v8::Value> functionLocation(v8::Local<v8::Context>, 124 v8::Local<v8::Value> functionLocation(v8::Local<v8::Context>,
124 v8::Local<v8::Function>); 125 v8::Local<v8::Function>);
125 126
126 enum ScopeTargetKind { 127 enum ScopeTargetKind {
127 FUNCTION, 128 FUNCTION,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; 164 v8::debug::ExceptionBreakState m_pauseOnExceptionsState;
164 165
165 WasmTranslation m_wasmTranslation; 166 WasmTranslation m_wasmTranslation;
166 167
167 DISALLOW_COPY_AND_ASSIGN(V8Debugger); 168 DISALLOW_COPY_AND_ASSIGN(V8Debugger);
168 }; 169 };
169 170
170 } // namespace v8_inspector 171 } // namespace v8_inspector
171 172
172 #endif // V8_INSPECTOR_V8DEBUGGER_H_ 173 #endif // V8_INSPECTOR_V8DEBUGGER_H_
OLDNEW
« no previous file with comments | « src/debug/debug-interface.h ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698