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

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

Issue 2468523003: Pass the desktop session ID to the remoting network process. (Closed)
Patch Set: rebase Created 4 years, 1 month 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_win.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 <cstdint> 8 #include <cstdint>
9 #include <map> 9 #include <map>
10 #include <memory> 10 #include <memory>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // DesktopSessionConnector implementation. 89 // DesktopSessionConnector implementation.
90 void ConnectTerminal(DesktopSessionProxy* desktop_session_proxy, 90 void ConnectTerminal(DesktopSessionProxy* desktop_session_proxy,
91 const ScreenResolution& resolution, 91 const ScreenResolution& resolution,
92 bool virtual_terminal) override; 92 bool virtual_terminal) override;
93 void DisconnectTerminal(DesktopSessionProxy* desktop_session_proxy) override; 93 void DisconnectTerminal(DesktopSessionProxy* desktop_session_proxy) override;
94 void SetScreenResolution(DesktopSessionProxy* desktop_session_proxy, 94 void SetScreenResolution(DesktopSessionProxy* desktop_session_proxy,
95 const ScreenResolution& resolution) override; 95 const ScreenResolution& resolution) override;
96 void OnDesktopSessionAgentAttached( 96 void OnDesktopSessionAgentAttached(
97 int terminal_id, 97 int terminal_id,
98 int session_id,
98 const IPC::ChannelHandle& desktop_pipe) override; 99 const IPC::ChannelHandle& desktop_pipe) override;
99 void OnTerminalDisconnected(int terminal_id) override; 100 void OnTerminalDisconnected(int terminal_id) override;
100 101
101 private: 102 private:
102 // Used to run the audio capturer. 103 // Used to run the audio capturer.
103 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_; 104 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_;
104 105
105 // Task runner on which methods of DesktopEnvironmentFactory interface should 106 // Task runner on which methods of DesktopEnvironmentFactory interface should
106 // be called. 107 // be called.
107 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; 108 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_;
(...skipping 18 matching lines...) Expand all
126 127
127 // Factory for weak pointers to DesktopSessionConnector interface. 128 // Factory for weak pointers to DesktopSessionConnector interface.
128 base::WeakPtrFactory<DesktopSessionConnector> connector_factory_; 129 base::WeakPtrFactory<DesktopSessionConnector> connector_factory_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory); 131 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory);
131 }; 132 };
132 133
133 } // namespace remoting 134 } // namespace remoting
134 135
135 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ 136 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698