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

Unified Diff: base/message_loop/message_pump_mac.h

Issue 20792003: DO NOT SUBMIT. Hacky trace event data for MessagePumpMac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/message_loop/message_pump_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_pump_mac.h
diff --git a/base/message_loop/message_pump_mac.h b/base/message_loop/message_pump_mac.h
index 748b26591f0403baaaa88fc9ad070135c8565f3b..1ea3ffd170cada21293b89c47bcc60400d55abad 100644
--- a/base/message_loop/message_pump_mac.h
+++ b/base/message_loop/message_pump_mac.h
@@ -32,9 +32,10 @@
#include "base/message_loop/message_pump.h"
-#include "base/basictypes.h"
-
#include <CoreFoundation/CoreFoundation.h>
+#include <stack>
+
+#include "base/basictypes.h"
#if !defined(__OBJC__)
class NSAutoreleasePool;
@@ -178,6 +179,8 @@ class MessagePumpCFRunLoopBase : public MessagePump {
// the object was created in.
int nesting_level_;
+ std::stack<uint32> nesting_stack_;
+
// The recursion depth (calculated in the same way as nesting_level_) of the
// innermost executing CFRunLoopRun loop started by a call to Run.
int run_nesting_level_;
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | base/message_loop/message_pump_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698