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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.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/core/inspector/InspectorDebuggerAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.h
index 3309f22cf5aca979e4930e4756ea6b12803cb4d8..11befd13cf849f1ff57e169cb8d1ef642fbd437e 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.h
@@ -80,9 +80,16 @@ public:
void willExecuteScript(int scriptId);
void didExecuteScript();
+ // Async stack implementation.
+ void asyncTaskScheduled(const String& taskName, void* task);
+ void asyncTaskScheduled(const String& taskName, void* task, bool recurring);
+ void asyncTaskCanceled(void* task);
+ void allAsyncTasksCanceled();
+ void asyncTaskStarted(void* task);
+ void asyncTaskFinished(void* task);
+
// InspectorBaseAgent overrides.
void setState(protocol::DictionaryValue*) override;
- void init() override;
void setFrontend(protocol::Frontend*) override;
void clearFrontend() override;
void restore() override;
@@ -94,10 +101,6 @@ protected:
explicit InspectorDebuggerAgent(V8RuntimeAgent*);
OwnPtr<V8DebuggerAgent> m_v8DebuggerAgent;
- Member<AsyncCallTracker> m_asyncCallTracker;
-
-private:
- void setTrackingAsyncCalls(bool);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698