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

Unified Diff: base/message_loop.h

Issue 7778033: Add trace code to track all posted tasks in message_loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « no previous file | base/message_loop.cc » ('j') | base/message_loop.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.h
diff --git a/base/message_loop.h b/base/message_loop.h
index 601120fe99aa8d211348d88bec4bfd272e442cc2..cbbda7ed93085bc0f83895a3e7afb8f10c64246b 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -430,14 +430,14 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate {
// The time when the task should be run.
base::TimeTicks delayed_run_time;
+ // The site this PendingTask was posted from.
+ tracked_objects::Location birth_location;
jbates 2011/08/31 00:40:48 Location is only three pointers, so if we store th
darin (slow to review) 2011/08/31 21:40:55 So post_births has this same information: post_bi
+
// Secondary sort key for run time.
int sequence_num;
// OK to dispatch from a nested loop.
bool nestable;
-
- // The site this PendingTask was posted from.
- const void* birth_program_counter;
};
class TaskQueue : public std::queue<PendingTask> {
« no previous file with comments | « no previous file | base/message_loop.cc » ('j') | base/message_loop.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698