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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2446543004: Fix RPHI message queueing during process death (Closed)
Patch Set: . Created 4 years, 2 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 | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index ba51fd7d09aeea1583c52908a4f4d26b1b95e380..4e93a91617f087f6c85e9db848e6f3d8c86d16eb 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -116,6 +116,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
// RenderProcessHost implementation (public portion).
bool Init() override;
+ void EnableSendQueue() override;
int GetNextRoutingID() override;
void AddRoute(int32_t routing_id, IPC::Listener* listener) override;
void RemoveRoute(int32_t routing_id) override;
@@ -310,6 +311,10 @@ class CONTENT_EXPORT RenderProcessHostImpl
// to the next child process launched for this host, if any.
void InitializeChannelProxy();
+ // Resets |channel_|, removing it from the attachment broker if necessary.
+ // Always call this in lieu of directly resetting |channel_|.
+ void ResetChannelProxy();
+
// Creates and adds the IO thread message filters.
void CreateMessageFilters();
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698