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

Side by Side Diff: remoting/host/wts_session_process_launcher_win.h

Issue 9480026: Added ScopedPrinterHandle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« base/win/scoped_handle.h ('K') | « printing/backend/win_helper.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_WTS_SESSION_PROCESS_LAUNCHER_WIN_H_ 5 #ifndef REMOTING_HOST_WTS_SESSION_PROCESS_LAUNCHER_WIN_H_
6 #define REMOTING_HOST_WTS_SESSION_PROCESS_LAUNCHER_WIN_H_ 6 #define REMOTING_HOST_WTS_SESSION_PROCESS_LAUNCHER_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/process.h" 13 #include "base/process.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "base/timer.h" 15 #include "base/timer.h"
16 #include "base/win/scoped_handle.h"
16 #include "base/win/object_watcher.h" 17 #include "base/win/object_watcher.h"
17 18
18 #include "remoting/host/wts_console_observer_win.h" 19 #include "remoting/host/wts_console_observer_win.h"
19 20
20 namespace base {
21 namespace win {
22
23 class ScopedHandle;
24
25 } // namespace win
26 } // namespace base
27
28 namespace remoting { 21 namespace remoting {
29 22
30 class WtsConsoleMonitor; 23 class WtsConsoleMonitor;
31 24
32 class WtsSessionProcessLauncher 25 class WtsSessionProcessLauncher
33 : public base::win::ObjectWatcher::Delegate, 26 : public base::win::ObjectWatcher::Delegate,
34 public WtsConsoleObserver { 27 public WtsConsoleObserver {
35 public: 28 public:
36 // Constructs a WtsSessionProcessLauncher object. |monitor| must outlive this 29 // Constructs a WtsSessionProcessLauncher object. |monitor| must outlive this
37 // class. |host_binary| is the name of the executable to be launched in 30 // class. |host_binary| is the name of the executable to be launched in
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 83
91 // Current state of the process launcher. 84 // Current state of the process launcher.
92 State state_; 85 State state_;
93 86
94 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessLauncher); 87 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessLauncher);
95 }; 88 };
96 89
97 } // namespace remoting 90 } // namespace remoting
98 91
99 #endif // REMOTING_HOST_WTS_SESSION_PROCESS_LAUNCHER_WIN_H_ 92 #endif // REMOTING_HOST_WTS_SESSION_PROCESS_LAUNCHER_WIN_H_
OLDNEW
« base/win/scoped_handle.h ('K') | « printing/backend/win_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698