Index: chrome/browser/extensions/extension_browser_event_router.h |
=================================================================== |
--- chrome/browser/extensions/extension_browser_event_router.h (revision 14176) |
+++ chrome/browser/extensions/extension_browser_event_router.h (working copy) |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_ |
#include <vector> |
+#include <set> |
#include <string> |
#include "base/basictypes.h" |
@@ -49,6 +50,10 @@ |
bool initialized_; |
+ // Maintain set of known tab ids, so we can distinguish between tab creation |
+ // and tab insertion. Also used to not send tab-detached after tab-removed. |
Matt Perry
2009/04/22 18:20:17
nit: "Also used to avoid sending"
|
+ std::set<int> tab_ids_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter); |
}; |