summaryrefslogtreecommitdiffstats
path: root/remoting/host/wts_session_process_launcher_win.h
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-24 18:01:29 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-24 18:01:29 +0000
commitaee7b0822009cda31b7aea2922263a0b5adc6c9a (patch)
treeef972647595113b6ab692963926fef8f64dd391c /remoting/host/wts_session_process_launcher_win.h
parent212d610f5e36926689d95b61f6175c930851b6e4 (diff)
downloadchromium_src-aee7b0822009cda31b7aea2922263a0b5adc6c9a.zip
chromium_src-aee7b0822009cda31b7aea2922263a0b5adc6c9a.tar.gz
chromium_src-aee7b0822009cda31b7aea2922263a0b5adc6c9a.tar.bz2
Implemented the infrustructure for monitoring sessions attaching to and detaching from the physical console.
Review URL: http://codereview.chromium.org/9430054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123508 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/wts_session_process_launcher_win.h')
-rw-r--r--remoting/host/wts_session_process_launcher_win.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/remoting/host/wts_session_process_launcher_win.h b/remoting/host/wts_session_process_launcher_win.h
new file mode 100644
index 0000000..b1c9104
--- /dev/null
+++ b/remoting/host/wts_session_process_launcher_win.h
@@ -0,0 +1,38 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_HOST_WTS_SESSION_PROCESS_LAUNCHER_WIN_H_
+#define REMOTING_HOST_WTS_SESSION_PROCESS_LAUNCHER_WIN_H_
+
+#include <windows.h>
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+
+#include "remoting/host/wts_console_observer_win.h"
+
+namespace remoting {
+
+class WtsConsoleMonitor;
+
+class WtsSessionProcessLauncher : public WtsConsoleObserver {
+ public:
+ // Constructs a WtsSessionProcessLauncher object. |monitor| must outlive this
+ // class.
+ WtsSessionProcessLauncher(WtsConsoleMonitor* monitor);
+ virtual ~WtsSessionProcessLauncher();
+
+ // WtsConsoleObserver implementation
+ virtual void OnSessionAttached(uint32 session_id) OVERRIDE;
+ virtual void OnSessionDetached() OVERRIDE;
+
+ private:
+ WtsConsoleMonitor* monitor_;
+
+ DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessLauncher);
+};
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_WTS_SESSION_PROCESS_LAUNCHER_WIN_H_