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

Unified Diff: base/win/object_watcher.h

Issue 10535041: Log stack trace when ObjectWatcher::StartWatching() is called. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/win/object_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/object_watcher.h
diff --git a/base/win/object_watcher.h b/base/win/object_watcher.h
index 2a515a19cb98ab9f7ee7491cca81fc870f2f52bc..51ae31a386ea15bcbae98936539698c03c0d8d9f 100644
--- a/base/win/object_watcher.h
+++ b/base/win/object_watcher.h
@@ -10,6 +10,7 @@
#include "base/base_export.h"
#include "base/callback.h"
+#include "base/debug/stack_trace.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop.h"
@@ -93,6 +94,9 @@ class BASE_EXPORT ObjectWatcher : public MessageLoop::DestructionObserver {
HANDLE wait_object_; // Returned by RegisterWaitForSingleObject
MessageLoop* origin_loop_; // Used to get back to the origin thread
+ // For debugging crbug.com/121086.
+ base::debug::StackTrace stack_trace_;
+
DISALLOW_COPY_AND_ASSIGN(ObjectWatcher);
};
« no previous file with comments | « no previous file | base/win/object_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698