diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-08 22:37:55 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-08 22:37:55 +0000 |
commit | e9057a6f4d454923e8744948721cd4f8e395a1b1 (patch) | |
tree | f6b3b86ffa087659259f4bc93ceb7419605d8289 /remoting/host/daemon_process.h | |
parent | 2f2f72b44f1a8060023665c751663184a317f67d (diff) | |
download | chromium_src-e9057a6f4d454923e8744948721cd4f8e395a1b1.zip chromium_src-e9057a6f4d454923e8744948721cd4f8e395a1b1.tar.gz chromium_src-e9057a6f4d454923e8744948721cd4f8e395a1b1.tar.bz2 |
The worker process launcher can now ask the worker process to crash.
When the worker process launcher detects or is notified of a protocol violation:
- It immediately stops processing IPCs from the worker, and requests that it crash.
- The worker process may respect the request to crash, producing a dump for debugging.
- If the worker ignores the request then it will be killed after a grace period has elapsed.
BUG=179215
Review URL: https://chromiumcodereview.appspot.com/12545006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/daemon_process.h')
-rw-r--r-- | remoting/host/daemon_process.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/remoting/host/daemon_process.h b/remoting/host/daemon_process.h index 9877f43..aed640c 100644 --- a/remoting/host/daemon_process.h +++ b/remoting/host/daemon_process.h @@ -9,7 +9,6 @@ #include "base/basictypes.h" #include "base/compiler_specific.h" -#include "base/location.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" @@ -25,6 +24,10 @@ struct SerializedTransportRoute; +namespace tracked_objects { +class Location; +} // namespace tracked_objects + namespace remoting { class AutoThreadTaskRunner; @@ -126,6 +129,10 @@ class DaemonProcess const DesktopSessionParams& params, bool virtual_terminal) = 0; + // Requests the network process to crash. + virtual void DoCrashNetworkProcess( + const tracked_objects::Location& location) = 0; + // Launches the network process and establishes an IPC channel with it. virtual void LaunchNetworkProcess() = 0; |