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

Unified Diff: content/browser/renderer_host/render_process_host.cc

Issue 8591024: Correct the order of destruction of ProfileImplIOData and ExtensionProcessManager. This was causi... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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: content/browser/renderer_host/render_process_host.cc
===================================================================
--- content/browser/renderer_host/render_process_host.cc (revision 110070)
+++ content/browser/renderer_host/render_process_host.cc (working copy)
@@ -204,6 +204,12 @@
}
// static
+int RenderProcessHost::AllHostsCount() {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ return g_all_hosts.Get().size();
+}
+
+// static
RenderProcessHost* RenderProcessHost::FromID(int render_process_id) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
return g_all_hosts.Get().Lookup(render_process_id);

Powered by Google App Engine
This is Rietveld 408576698