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

Side by Side Diff: src/debug/debug-interface.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.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>
9
8 #include "include/v8-debug.h" 10 #include "include/v8-debug.h"
9 #include "include/v8-util.h" 11 #include "include/v8-util.h"
10 #include "include/v8.h" 12 #include "include/v8.h"
11 13
12 #include "src/debug/interface-types.h" 14 #include "src/debug/interface-types.h"
13 15
14 namespace v8 { 16 namespace v8 {
15 namespace debug { 17 namespace debug {
16 18
17 /** 19 /**
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 int NumImportedFunctions() const; 197 int NumImportedFunctions() const;
196 198
197 debug::WasmDisassembly DisassembleFunction(int function_index) const; 199 debug::WasmDisassembly DisassembleFunction(int function_index) const;
198 }; 200 };
199 201
200 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts); 202 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts);
201 203
202 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate, 204 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
203 Local<String> source); 205 Local<String> source);
204 206
207 typedef std::function<void(debug::PromiseDebugActionType type, int id,
208 void* data)>
209 AsyncTaskListener;
210 void SetAsyncTaskListener(Isolate* isolate, AsyncTaskListener listener,
211 void* data);
212
205 } // namespace debug 213 } // namespace debug
206 } // namespace v8 214 } // namespace v8
207 215
208 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 216 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/inspector/v8-debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698