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

Unified Diff: base/pending_task.h

Issue 1044413002: Record async "task backtraces" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More wording fixes. Created 3 years, 10 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
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | base/pending_task.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/pending_task.h
diff --git a/base/pending_task.h b/base/pending_task.h
index a55fa518ea070e61ae4d4d23139731e86db5ac15..7f3fccd8827c934f04b42debf5017d407b3bf3fa 100644
--- a/base/pending_task.h
+++ b/base/pending_task.h
@@ -5,6 +5,7 @@
#ifndef BASE_PENDING_TASK_H_
#define BASE_PENDING_TASK_H_
+#include <array>
#include <queue>
#include "base/base_export.h"
@@ -37,6 +38,9 @@ struct BASE_EXPORT PendingTask : public TrackingInfo {
// The site this PendingTask was posted from.
tracked_objects::Location posted_from;
+ // Task backtrace.
+ std::array<const void*, 4> task_backtrace;
+
// Secondary sort key for run time.
int sequence_num;
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | base/pending_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698