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

Unified Diff: remoting/host/chromoting_messages.h

Issue 11234034: Crash the network process when a fatal daemon-to-network protocol error encountered. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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 | remoting/host/daemon_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_messages.h
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h
index ad851209899a2e6db3c147f83e4a2bec9c522006..17fdcecadc7231b155672c25bdb7b9f09f1d9f88 100644
--- a/remoting/host/chromoting_messages.h
+++ b/remoting/host/chromoting_messages.h
@@ -12,6 +12,15 @@
//-----------------------------------------------------------------------------
// Chromoting messages sent from the daemon to the network process.
+// Requests the network process to crash producing a crash dump. The daemon
+// sends this message when a fatal error has been detected indicating that
+// the network process misbehaves. The daemon passes the location of the code
+// that detected the error.
+IPC_MESSAGE_CONTROL3(ChromotingDaemonNetworkMsg_Crash,
+ std::string /* function_name */,
+ std::string /* file_name */,
+ int /* line_number */)
+
// Delivers the host configuration (and updates) to the network process.
IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_Configuration, std::string)
« no previous file with comments | « no previous file | remoting/host/daemon_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698