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

Unified Diff: ceee/ie/broker/executors_manager.h

Issue 5622001: Make sure we don't keep tab id - handles mapping when a dread dies.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
Index: ceee/ie/broker/executors_manager.h
===================================================================
--- ceee/ie/broker/executors_manager.h (revision 68024)
+++ ceee/ie/broker/executors_manager.h (working copy)
@@ -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 @@
// 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> {

Powered by Google App Engine
This is Rietveld 408576698