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

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

Issue 2883057: Add debuggin CHECK to help track down ExtensionHost crasher (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: cr comment Created 10 years, 4 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_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_host.h
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
index a2ad3d68c0e3af681196a0ee2541bfb0c8fe2735..245e539f8e9ff9f5aab6a17a6c662dc0900bd3b6 100644
--- a/chrome/browser/extensions/extension_host.h
+++ b/chrome/browser/extensions/extension_host.h
@@ -7,6 +7,7 @@
#pragma once
#include <string>
+#include <list>
#include "base/perftimer.h"
#include "base/scoped_ptr.h"
@@ -48,6 +49,9 @@ class ExtensionHost : public RenderViewHostDelegate,
// Enable DOM automation in created render view hosts.
static void EnableDOMAutomation() { enable_dom_automation_ = true; }
+ typedef std::list<ExtensionHost*> HostPointerList;
+ static HostPointerList* recently_deleted();
+
ExtensionHost(Extension* extension, SiteInstance* site_instance,
const GURL& url, ViewType::Type host_type);
~ExtensionHost();
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698