OLD | NEW |
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_WIN_WTS_SESSION_PROCESS_DELEGATE_H_ | 5 #ifndef REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_ |
6 #define REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_ | 6 #define REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, | 33 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, |
34 scoped_ptr<base::CommandLine> target, | 34 scoped_ptr<base::CommandLine> target, |
35 bool launch_elevated, | 35 bool launch_elevated, |
36 const std::string& channel_security); | 36 const std::string& channel_security); |
37 ~WtsSessionProcessDelegate(); | 37 ~WtsSessionProcessDelegate(); |
38 | 38 |
39 // Initializes the object returning true on success. | 39 // Initializes the object returning true on success. |
40 bool Initialize(uint32 session_id); | 40 bool Initialize(uint32 session_id); |
41 | 41 |
42 // WorkerProcessLauncher::Delegate implementation. | 42 // WorkerProcessLauncher::Delegate implementation. |
43 virtual void LaunchProcess(WorkerProcessLauncher* event_handler) OVERRIDE; | 43 virtual void LaunchProcess(WorkerProcessLauncher* event_handler) override; |
44 virtual void Send(IPC::Message* message) OVERRIDE; | 44 virtual void Send(IPC::Message* message) override; |
45 virtual void CloseChannel() OVERRIDE; | 45 virtual void CloseChannel() override; |
46 virtual void KillProcess() OVERRIDE; | 46 virtual void KillProcess() override; |
47 | 47 |
48 private: | 48 private: |
49 // The actual implementation resides in WtsSessionProcessDelegate::Core class. | 49 // The actual implementation resides in WtsSessionProcessDelegate::Core class. |
50 class Core; | 50 class Core; |
51 scoped_refptr<Core> core_; | 51 scoped_refptr<Core> core_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessDelegate); | 53 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessDelegate); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace remoting | 56 } // namespace remoting |
57 | 57 |
58 #endif // REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_ | 58 #endif // REMOTING_HOST_WIN_WTS_SESSION_PROCESS_DELEGATE_H_ |
OLD | NEW |