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

Unified Diff: base/message_loop/message_pump_io_ios.cc

Issue 2695593009: Use the location where FileDescriptorWatcher is created to track the libevent handlers (Closed)
Patch Set: fix mac. 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_pump_io_ios.h ('k') | base/message_loop/message_pump_io_ios_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_pump_io_ios.cc
diff --git a/base/message_loop/message_pump_io_ios.cc b/base/message_loop/message_pump_io_ios.cc
index b464f74ed0ec40ef0549263325eaea9bef29a660..85cb2555c9524f07e71b921b05ed3c86cc023551 100644
--- a/base/message_loop/message_pump_io_ios.cc
+++ b/base/message_loop/message_pump_io_ios.cc
@@ -6,13 +6,14 @@
namespace base {
-MessagePumpIOSForIO::FileDescriptorWatcher::FileDescriptorWatcher()
+MessagePumpIOSForIO::FileDescriptorWatcher::FileDescriptorWatcher(
+ const tracked_objects::Location& from_here)
: is_persistent_(false),
fdref_(NULL),
callback_types_(0),
fd_source_(NULL),
- watcher_(NULL) {
-}
+ watcher_(NULL),
+ created_from_location_(from_here) {}
MessagePumpIOSForIO::FileDescriptorWatcher::~FileDescriptorWatcher() {
StopWatchingFileDescriptor();
« no previous file with comments | « base/message_loop/message_pump_io_ios.h ('k') | base/message_loop/message_pump_io_ios_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698