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

Side by Side Diff: remoting/host/win/wts_session_process_launcher.h

Issue 10824316: Avoid calling GetNamedPipeClientProcessId() which is not available on XP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
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_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_ 5 #ifndef REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_
6 #define REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_ 6 #define REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 scoped_refptr<base::SingleThreadTaskRunner> main_message_loop, 49 scoped_refptr<base::SingleThreadTaskRunner> main_message_loop,
50 scoped_refptr<base::SingleThreadTaskRunner> ipc_message_loop); 50 scoped_refptr<base::SingleThreadTaskRunner> ipc_message_loop);
51 51
52 virtual ~WtsSessionProcessLauncher(); 52 virtual ~WtsSessionProcessLauncher();
53 53
54 // WorkerProcessLauncher::Delegate implementation. 54 // WorkerProcessLauncher::Delegate implementation.
55 virtual bool DoLaunchProcess( 55 virtual bool DoLaunchProcess(
56 const std::string& channel_name, 56 const std::string& channel_name,
57 base::win::ScopedHandle* process_exit_event_out) OVERRIDE; 57 base::win::ScopedHandle* process_exit_event_out) OVERRIDE;
58 virtual void DoKillProcess(DWORD exit_code) OVERRIDE; 58 virtual void DoKillProcess(DWORD exit_code) OVERRIDE;
59 virtual void OnChannelConnected(DWORD peer_pid) OVERRIDE; 59 virtual void OnChannelConnected() OVERRIDE;
60 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 60 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
61 61
62 // WtsConsoleObserver implementation. 62 // WtsConsoleObserver implementation.
63 virtual void OnSessionAttached(uint32 session_id) OVERRIDE; 63 virtual void OnSessionAttached(uint32 session_id) OVERRIDE;
64 virtual void OnSessionDetached() OVERRIDE; 64 virtual void OnSessionDetached() OVERRIDE;
65 65
66 protected: 66 protected:
67 // Stoppable implementation. 67 // Stoppable implementation.
68 virtual void DoStop() OVERRIDE; 68 virtual void DoStop() OVERRIDE;
69 69
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 base::win::ScopedHandle session_token_; 109 base::win::ScopedHandle session_token_;
110 110
111 scoped_ptr<SasInjector> sas_injector_; 111 scoped_ptr<SasInjector> sas_injector_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessLauncher); 113 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessLauncher);
114 }; 114 };
115 115
116 } // namespace remoting 116 } // namespace remoting
117 117
118 #endif // REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_ 118 #endif // REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698