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

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: win trace tests Created 9 years, 3 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/memory/singleton.h ('k') | base/message_loop.cc » ('j') | base/tracked.h » ('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..260ea699b095fadf25e28f6a266d5b678dd5e5ee 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 posted_from;
joth 2011/09/15 10:38:09 I managed to avoid this one by using post_births->
jbates 2011/09/15 16:48:33 Are we talking about a memory tradeoff? I actually
+
// 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 | « base/memory/singleton.h ('k') | base/message_loop.cc » ('j') | base/tracked.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698