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

Unified Diff: content/browser/child_process_launcher.h

Issue 1018043004: Drop queued IPC messages if the child process dies while spawning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding test Created 5 years, 9 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
Index: content/browser/child_process_launcher.h
diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
index de890a92e404cbcd15688bf6a6fe7dc9d5245a6a..bd923b97a524913983947a5a0971456bce1672ad 100644
--- a/content/browser/child_process_launcher.h
+++ b/content/browser/child_process_launcher.h
@@ -76,6 +76,10 @@ class CONTENT_EXPORT ChildProcessLauncher {
// shutdown.
void SetTerminateChildOnShutdown(bool terminate_on_shutdown);
+ // Replaces the ChildProcessLauncher::Client for testing purposes. Returns the
+ // previous client.
+ Client* ReplaceClientForTest(Client* client);
+
private:
class Context;
« no previous file with comments | « no previous file | content/browser/child_process_launcher.cc » ('j') | content/browser/renderer_host/render_process_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698