summaryrefslogtreecommitdiffstats
path: root/ceee/ie/broker/executors_manager.h
diff options
context:
space:
mode:
authormad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-04 21:10:59 +0000
committermad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-04 21:10:59 +0000
commitbd441ad14e30b205c6033eb0336ea736b27dc2a4 (patch)
tree3ed375b70380f883d305e8b512240d7966a412a6 /ceee/ie/broker/executors_manager.h
parentf632ee43959fb2ac545558468dd1ea00d95f80e8 (diff)
downloadchromium_src-bd441ad14e30b205c6033eb0336ea736b27dc2a4.zip
chromium_src-bd441ad14e30b205c6033eb0336ea736b27dc2a4.tar.gz
chromium_src-bd441ad14e30b205c6033eb0336ea736b27dc2a4.tar.bz2
Make sure we don't keep tab id - handles mapping when a dread dies.
BUG= 65153 TEST=See hard to repro scenario in bug... Review URL: http://codereview.chromium.org/5622001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ceee/ie/broker/executors_manager.h')
-rw-r--r--ceee/ie/broker/executors_manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ceee/ie/broker/executors_manager.h b/ceee/ie/broker/executors_manager.h
index a51e2da..48a15f9 100644
--- a/ceee/ie/broker/executors_manager.h
+++ b/ceee/ie/broker/executors_manager.h
@@ -16,6 +16,7 @@
#include "base/lock.h"
#include "base/singleton.h"
+#include "base/task.h"
#include "ceee/common/window_utils.h"
#include "ceee/ie/broker/window_events_funnel.h"
@@ -120,6 +121,10 @@ class ExecutorsManager {
// Unregister the HWND and its corresponding tab ID and tool band tab ID.
virtual void DeleteTabHandle(HWND handle);
+ // Cleans up the maps from all handles that would be associated to the given
+ // thread id.
+ virtual void CleanupMapsForThread(DWORD thread_id);
+
// Traits for Singleton<ExecutorsManager> so that we can pass an argument
// to the constructor.
struct SingletonTraits : public DefaultSingletonTraits<ExecutorsManager> {