/external/chromium_org/remoting/host/win/ |
wts_terminal_monitor.h | 28 // terminal. |terminal_id| is used to specify an RdpClient instance for which 34 virtual bool AddWtsTerminalObserver(const std::string& terminal_id, 40 // Returns ID of the terminal connected to |session_id| in |*terminal_id|. 43 static bool LookupTerminalId(uint32 session_id, std::string* terminal_id); 45 // Returns ID of the session that |terminal_id| is attached. 48 static uint32 LookupSessionId(const std::string& terminal_id);
|
wts_terminal_monitor.cc | 26 std::string* terminal_id) { 30 *terminal_id = kConsole; 46 terminal_id); 52 uint32 WtsTerminalMonitor::LookupSessionId(const std::string& terminal_id) { 55 if (terminal_id == kConsole) 70 if (LookupTerminalId(session_id, &id) && terminal_id == id) { 76 // |terminal_id| is not associated with any session.
|
rdp_client.h | 44 const std::string& terminal_id,
|
rdp_client.cc | 50 const std::string& terminal_id); 94 const std::string& terminal_id, 99 core_->Connect(screen_size, terminal_id); 124 const std::string& terminal_id) { 127 FROM_HERE, base::Bind(&Core::Connect, this, screen_size, terminal_id)); 149 rdp_client_window_.reset(new RdpClientWindow(server_endpoint, terminal_id,
|
host_service.cc | 88 bool HostService::AddWtsTerminalObserver(const std::string& terminal_id, 93 registered_observer.terminal_id = terminal_id; 102 if (i->terminal_id == terminal_id) { 112 // If |terminal_id| is new, enumerate all sessions to see if there is one 113 // attached to |terminal_id|. 115 registered_observer.session_id = LookupSessionId(terminal_id); 160 std::string terminal_id; local 161 bool attached = LookupTerminalId(session_id, &terminal_id); [all...] |
host_service.h | 41 virtual bool AddWtsTerminalObserver(const std::string& terminal_id, 91 std::string terminal_id; member in struct:remoting::HostService::RegisteredObserver 98 // identified by |terminal_id|.
|
rdp_desktop_session.cc | 20 BSTR terminal_id, 30 UTF16ToUTF8(terminal_id), this));
|
rdp_desktop_session.h | 42 STDMETHOD(Connect)(long width, long height, BSTR terminal_id,
|
rdp_client_window.h | 68 const std::string& terminal_id,
|
rdp_client_window.cc | 114 const std::string& terminal_id, 118 terminal_id_(terminal_id) { 244 base::win::ScopedBstr terminal_id(UTF8ToUTF16(terminal_id_).c_str()); 363 result = secured_settings->put_WorkDir(terminal_id);
|
/external/chromium_org/remoting/host/ |
desktop_session_connector.h | 43 // Notifies the network process that |terminal_id| is now attached to 48 int terminal_id, 54 virtual void OnTerminalDisconnected(int terminal_id) = 0;
|
daemon_process.cc | 139 void DaemonProcess::CloseDesktopSession(int terminal_id) { 145 if (!WasTerminalIdAllocated(terminal_id)) { 146 LOG(ERROR) << "Invalid terminal ID: " << terminal_id; 153 if ((*i)->id() == terminal_id) { 167 VLOG(1) << "Daemon: closed desktop session " << terminal_id; 169 new ChromotingDaemonNetworkMsg_TerminalDisconnected(terminal_id)); 184 void DaemonProcess::CreateDesktopSession(int terminal_id, 192 if (WasTerminalIdAllocated(terminal_id)) { 193 LOG(ERROR) << "Invalid terminal ID: " << terminal_id; 199 next_terminal_id_ = std::max(next_terminal_id_, terminal_id + 1) [all...] |
daemon_process.h | 77 // Called when a desktop integration process attaches to |terminal_id|. 82 int terminal_id, 86 // Closes the desktop session identified by |terminal_id|. 87 void CloseDesktopSession(int terminal_id); 95 void CreateDesktopSession(int terminal_id, 100 // |terminal_id|. 101 void SetScreenResolution(int terminal_id, const ScreenResolution& resolution); 112 // Returns true if |terminal_id| is in the range of allocated IDs. I.e. it is 114 bool WasTerminalIdAllocated(int terminal_id); 131 int terminal_id, [all...] |
daemon_process_win.cc | 61 int terminal_id, 68 int terminal_id, 127 int terminal_id, 146 terminal_id, desktop_process_for_transit, desktop_pipe)); 151 int terminal_id, 158 caller_task_runner(), io_task_runner(), this, terminal_id, resolution); 161 caller_task_runner(), io_task_runner(), this, terminal_id, resolution);
|
ipc_desktop_environment.cc | 171 int terminal_id, 177 base::Unretained(this), terminal_id, desktop_process, desktop_pipe)); 181 ActiveConnectionsList::iterator i = active_connections_.find(terminal_id); 196 void IpcDesktopEnvironmentFactory::OnTerminalDisconnected(int terminal_id) { 200 base::Unretained(this), terminal_id)); 204 ActiveConnectionsList::iterator i = active_connections_.find(terminal_id);
|
daemon_process_unittest.cc | 61 int terminal_id, 100 int terminal_id, 103 return scoped_ptr<DesktopSession>(DoCreateDesktopSessionPtr(terminal_id)); 131 DesktopSession* DoCreateDesktopSession(int terminal_id); 188 DesktopSession* DaemonProcessTest::DoCreateDesktopSession(int terminal_id) { 189 return new FakeDesktopSession(daemon_process_.get(), terminal_id);
|
ipc_desktop_environment.h | 97 int terminal_id, 100 virtual void OnTerminalDisconnected(int terminal_id) OVERRIDE;
|
desktop_session_win.h | 75 // Starts monitoring for session attach/detach events for |terminal_id|. 76 void StartMonitoring(const std::string& terminal_id);
|
ipc_desktop_environment_unittest.cc | 127 void ConnectTerminal(int terminal_id, 130 void DisconnectTerminal(int terminal_id); 208 // The last |terminal_id| passed to ConnectTermina(); 297 int terminal_id, 300 EXPECT_NE(terminal_id_, terminal_id); 302 terminal_id_ = terminal_id; 306 void IpcDesktopEnvironmentTest::DisconnectTerminal(int terminal_id) { 307 EXPECT_EQ(terminal_id_, terminal_id);
|
desktop_session_win.cc | 259 base::win::ScopedBstr terminal_id(UTF8ToUTF16(terminal_id_).c_str()); 262 terminal_id, 427 void DesktopSessionWin::StartMonitoring(const std::string& terminal_id) { 439 monitor_->AddWtsTerminalObserver(terminal_id, this);
|