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

Unified Diff: chrome/browser/extensions/extension_webnavigation_api.h

Issue 7562003: Speculative fix for crash. Crashes seem to indicate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: erase(i++) Created 9 years, 5 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 | chrome/browser/extensions/extension_webnavigation_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_webnavigation_api.h
diff --git a/chrome/browser/extensions/extension_webnavigation_api.h b/chrome/browser/extensions/extension_webnavigation_api.h
index 1f7e7a1036093c8cc41504f007a96e1b3f9b3877..7b8355e980037fdbd0df07e7dd5d8e5d86b5fd88 100644
--- a/chrome/browser/extensions/extension_webnavigation_api.h
+++ b/chrome/browser/extensions/extension_webnavigation_api.h
@@ -198,6 +198,10 @@ class ExtensionWebNavigationEventRouter : public NotificationObserver {
// of such an event and creates a JSON formated extension event from it.
void TabAdded(TabContents* tab_contents);
+ // Handler for NOTIFICATION_TAB_CONTENTS_DESTROYED. If |tab_contents| is
+ // in |pending_tab_contents_|, it is removed.
+ void TabDestroyed(TabContents* tab_contents);
+
// Mapping pointers to TabContents objects to information about how they got
// created.
std::map<TabContents*, PendingTabContents> pending_tab_contents_;
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_webnavigation_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698