diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 22:23:50 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 22:23:50 +0000 |
commit | 13d9ffbda6c2837846c50db787f31d44a2f4e3ee (patch) | |
tree | 36dde19fdf46bc8ee34db7b2e2bf32ca3d6038f6 /remoting/host/chromoting_messages.h | |
parent | e01969b2b7f289365392934061bd9ecfa952f908 (diff) | |
download | chromium_src-13d9ffbda6c2837846c50db787f31d44a2f4e3ee.zip chromium_src-13d9ffbda6c2837846c50db787f31d44a2f4e3ee.tar.gz chromium_src-13d9ffbda6c2837846c50db787f31d44a2f4e3ee.tar.bz2 |
Crash the network process when a fatal daemon-to-network protocol error encountered.
Advantages of this approach:
- We will be getting crash reports from the field when fatal mistakes happen.
- The exponential backoff counter will not be reset.
BUG=134694
Review URL: https://chromiumcodereview.appspot.com/11234034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163702 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_messages.h')
-rw-r--r-- | remoting/host/chromoting_messages.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h index ad85120..17fdcec 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) |