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

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

Issue 2592893003: [inspector] migrate AsycEvent to tupple (Closed)
Patch Set: Created 3 years, 12 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.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_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 "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "include/v8-util.h" 9 #include "include/v8-util.h"
10 #include "include/v8.h" 10 #include "include/v8.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 class WasmScript : public Script { 180 class WasmScript : public Script {
181 public: 181 public:
182 static WasmScript* Cast(Script* script); 182 static WasmScript* Cast(Script* script);
183 183
184 int NumFunctions() const; 184 int NumFunctions() const;
185 int NumImportedFunctions() const; 185 int NumImportedFunctions() const;
186 186
187 debug::WasmDisassembly DisassembleFunction(int function_index) const; 187 debug::WasmDisassembly DisassembleFunction(int function_index) const;
188 }; 188 };
189 189
190 class AsyncTaskEventData {
191 public:
192 AsyncTaskEventType type() const;
193 int id() const;
194 MaybeLocal<String> name() const;
195 static AsyncTaskEventData* Cast(Value* value);
196 };
197
190 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts); 198 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts);
191 199
192 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate, 200 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
193 Local<String> source); 201 Local<String> source);
194 202
195 } // namespace debug 203 } // namespace debug
196 } // namespace v8 204 } // namespace v8
197 205
198 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 206 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698