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

Unified Diff: third_party/WebKit/Source/core/inspector/ThreadDebugger.h

Issue 2873713002: [DevTools] added creation stack for event listeners without scheduled stack
Patch Set: better Created 3 years, 7 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/ThreadDebugger.h
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.h b/third_party/WebKit/Source/core/inspector/ThreadDebugger.h
index 7b1cf23a985a0b9dc240544697736bbac9765cc4..dd01349d14e368a78d9331215eb395f369b82353 100644
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.h
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.h
@@ -43,7 +43,7 @@ class CORE_EXPORT ThreadDebugger : public v8_inspector::V8InspectorClient,
void AsyncTaskScheduled(const String& task_name, void* task, bool recurring);
void AsyncTaskCanceled(void* task);
void AllAsyncTasksCanceled();
- void AsyncTaskStarted(void* task);
+ bool AsyncTaskStarted(void* task, bool optional);
void AsyncTaskFinished(void* task);
unsigned PromiseRejected(v8::Local<v8::Context>,
const String& error_message,
@@ -110,6 +110,8 @@ class CORE_EXPORT ThreadDebugger : public v8_inspector::V8InspectorClient,
Vector<v8_inspector::V8InspectorClient::TimerCallback> timer_callbacks_;
Vector<void*> timer_data_;
std::unique_ptr<UserGestureIndicator> user_gesture_indicator_;
+
+ int current_async_tasks_ = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.cpp ('k') | third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698