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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h

Issue 1857713004: DevTools: simplify the async instrumentation harness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h
index 79d8121006c41a6a90262337c88d95bd8ce8cce3..81613f53fea1f52dbd89b2118a23597c4b103dfe 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h
@@ -33,13 +33,12 @@ public:
virtual bool enabled() = 0;
virtual V8Debugger& debugger() = 0;
- // Async call stacks implementation
- static const int unknownAsyncOperationId;
- virtual int traceAsyncOperationStarting(const String16& description) = 0;
- virtual void traceAsyncCallbackStarting(int operationId) = 0;
- virtual void traceAsyncCallbackCompleted() = 0;
- virtual void traceAsyncOperationCompleted(int operationId) = 0;
- virtual bool trackingAsyncCalls() const = 0;
+ // Async call stacks implementation.
+ virtual void asyncTaskScheduled(const String16& taskName, void* task, bool recurring) = 0;
+ virtual void asyncTaskCanceled(void* task) = 0;
+ virtual void asyncTaskStarted(void* task) = 0;
+ virtual void asyncTaskFinished(void* task) = 0;
+ virtual void allAsyncTasksCanceled() = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698