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

Unified Diff: Source/core/inspector/InspectorInstrumentation.idl

Issue 383123009: DevTools: Support async call stacks for FileSystem API (part 1). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InspectorInstrumentation.idl
diff --git a/Source/core/inspector/InspectorInstrumentation.idl b/Source/core/inspector/InspectorInstrumentation.idl
index a342ed6c17abc0e323907757a616bcda1298bde4..2a245525327b542013fb6edef6e6f7e09aaa7e04 100644
--- a/Source/core/inspector/InspectorInstrumentation.idl
+++ b/Source/core/inspector/InspectorInstrumentation.idl
@@ -52,7 +52,7 @@
* Keep - pass first parameter (used to access the InstrumentingAgents instance) to agents.
* FastReturn - return early from the inline method if this parameter is 0/false.
*
-* returnValue: C++ return value. Only "void" and "InspectorInstrumentationCookie" are supported.
+* returnValue: C++ return value. Only "void", "bool" and "InspectorInstrumentationCookie" are supported.
*
* methodName: C++ name for the public instrumentation method and agents methods.
*
@@ -67,6 +67,9 @@ interface InspectorInstrumentation {
#include "core/dom/PseudoElement.h"
+// Forward declarations.
+class AsyncFileSystemCallbacks;
+
[Page, Inspector, PageDebugger, PageRuntime]
void didClearDocumentOfWindowObject([Keep] LocalFrame*);
@@ -202,6 +205,18 @@ interface InspectorInstrumentation {
[Debugger, Inline=FastReturn]
void didPerformExecutionContextTask(ExecutionContext*);
+ [Debugger, Inline=FastReturn]
+ void didEnqueueAsyncFileSystemCallback([Keep] ExecutionContext*, AsyncFileSystemCallbacks*);
+
+ [Debugger, Inline=FastReturn]
+ void didRemoveAsyncFileSystemCallback([Keep] ExecutionContext*, AsyncFileSystemCallbacks*);
+
+ [Debugger, Inline=FastReturn]
+ void willHandleAsyncFileSystemCallback([Keep] ExecutionContext*, AsyncFileSystemCallbacks*, bool willReschedule, bool hasMore);
+
+ [Debugger, Inline=FastReturn]
+ void didHandleAsyncFileSystemCallback([Keep] ExecutionContext*, AsyncFileSystemCallbacks*, bool didReschedule);
+
[Timeline, Inline=FastReturn]
InspectorInstrumentationCookie willEvaluateScript([Keep] LocalFrame*, const String& url, int lineNumber);

Powered by Google App Engine
This is Rietveld 408576698