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

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

Issue 859413003: Remove uses of CloseProcessHandle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (revert watcher client changes) Created 5 years, 10 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
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | 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_IPC_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 // DesktopSessionConnector implementation. 90 // DesktopSessionConnector implementation.
91 void ConnectTerminal(DesktopSessionProxy* desktop_session_proxy, 91 void ConnectTerminal(DesktopSessionProxy* desktop_session_proxy,
92 const ScreenResolution& resolution, 92 const ScreenResolution& resolution,
93 bool virtual_terminal) override; 93 bool virtual_terminal) override;
94 void DisconnectTerminal(DesktopSessionProxy* desktop_session_proxy) override; 94 void DisconnectTerminal(DesktopSessionProxy* desktop_session_proxy) override;
95 void SetScreenResolution(DesktopSessionProxy* desktop_session_proxy, 95 void SetScreenResolution(DesktopSessionProxy* desktop_session_proxy,
96 const ScreenResolution& resolution) override; 96 const ScreenResolution& resolution) override;
97 void OnDesktopSessionAgentAttached( 97 void OnDesktopSessionAgentAttached(
98 int terminal_id, 98 int terminal_id,
99 base::ProcessHandle desktop_process, 99 base::ProcessHandle desktop_process_handle,
100 IPC::PlatformFileForTransit desktop_pipe) override; 100 IPC::PlatformFileForTransit desktop_pipe) override;
101 void OnTerminalDisconnected(int terminal_id) override; 101 void OnTerminalDisconnected(int terminal_id) override;
102 102
103 private: 103 private:
104 // Used to run the audio capturer. 104 // Used to run the audio capturer.
105 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_; 105 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_;
106 106
107 // Task runner on which methods of DesktopEnvironmentFactory interface should 107 // Task runner on which methods of DesktopEnvironmentFactory interface should
108 // be called. 108 // be called.
109 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; 109 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_;
(...skipping 21 matching lines...) Expand all
131 131
132 // Factory for weak pointers to DesktopSessionConnector interface. 132 // Factory for weak pointers to DesktopSessionConnector interface.
133 base::WeakPtrFactory<DesktopSessionConnector> connector_factory_; 133 base::WeakPtrFactory<DesktopSessionConnector> connector_factory_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory); 135 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory);
136 }; 136 };
137 137
138 } // namespace remoting 138 } // namespace remoting
139 139
140 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ 140 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698