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

Unified Diff: third_party/WebKit/Source/core/probe/CoreProbes.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/probe/CoreProbes.h
diff --git a/third_party/WebKit/Source/core/probe/CoreProbes.h b/third_party/WebKit/Source/core/probe/CoreProbes.h
index 68be56318f0cd034b5b5eb450ee8dfb794bf4416..ea60afb563f86e35ce927f8a1cc3f87d08020c59 100644
--- a/third_party/WebKit/Source/core/probe/CoreProbes.h
+++ b/third_party/WebKit/Source/core/probe/CoreProbes.h
@@ -55,13 +55,15 @@ class CORE_EXPORT AsyncTask {
AsyncTask(ExecutionContext*,
void* task,
const char* step = nullptr,
- bool enabled = true);
+ bool enabled = true,
+ bool optional = false);
~AsyncTask();
private:
ThreadDebugger* debugger_;
void* task_;
bool recurring_;
+ bool started_;
};
// Called from generated instrumentation code.
« no previous file with comments | « third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp ('k') | third_party/WebKit/Source/core/probe/CoreProbes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698