summaryrefslogtreecommitdiffstats
path: root/remoting/host/desktop_session_win.h
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 03:57:08 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 03:57:08 +0000
commita4b399541de0f4b8bedb4d9600e9eb3f1bd5672f (patch)
tree7a68a7e66a9bae4391698227b566c0736aa36dd6 /remoting/host/desktop_session_win.h
parent65726042bb540cd21ad1e7b22cbc101ed5ff0b97 (diff)
downloadchromium_src-a4b399541de0f4b8bedb4d9600e9eb3f1bd5672f.zip
chromium_src-a4b399541de0f4b8bedb4d9600e9eb3f1bd5672f.tar.gz
chromium_src-a4b399541de0f4b8bedb4d9600e9eb3f1bd5672f.tar.bz2
Change the daemon start type to 'manual' if the host ID has been deleted.
This will prevent the host from being relaunched every time the machine boots after the host has been deleted remotely. BUG=132626 Review URL: https://chromiumcodereview.appspot.com/17261013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/desktop_session_win.h')
-rw-r--r--remoting/host/desktop_session_win.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/host/desktop_session_win.h b/remoting/host/desktop_session_win.h
index 6baf22d..38c2e07 100644
--- a/remoting/host/desktop_session_win.h
+++ b/remoting/host/desktop_session_win.h
@@ -78,13 +78,16 @@ class DesktopSessionWin
// Stops monitoring for session attach/detach events.
void StopMonitoring();
+ // Asks DaemonProcess to terminate this session.
+ void TerminateSession();
+
// Injects a secure attention sequence into the session.
virtual void InjectSas() = 0;
// WorkerProcessIpcDelegate implementation.
virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- virtual void OnPermanentError() OVERRIDE;
+ virtual void OnPermanentError(int exit_code) OVERRIDE;
// WtsTerminalObserver implementation.
virtual void OnSessionAttached(uint32 session_id) OVERRIDE;