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

Unified Diff: remoting/host/win/rdp_desktop_session.cc

Issue 1935003003: Fixing curtain mode using non-default RDP port for Windows host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CR feedback Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/win/rdp_desktop_session.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/rdp_desktop_session.cc
diff --git a/remoting/host/win/rdp_desktop_session.cc b/remoting/host/win/rdp_desktop_session.cc
index 788d06a20ab327d2be88dc5f85788f2e9f9dec31..19980becba19dd64235244cc0d082125e0225046 100644
--- a/remoting/host/win/rdp_desktop_session.cc
+++ b/remoting/host/win/rdp_desktop_session.cc
@@ -21,6 +21,7 @@ STDMETHODIMP RdpDesktopSession::Connect(
long width,
long height,
BSTR terminal_id,
+ DWORD port_number,
IRdpDesktopSessionEventHandler* event_handler) {
event_handler_ = event_handler;
@@ -28,9 +29,9 @@ STDMETHODIMP RdpDesktopSession::Connect(
ChromotingModule::task_runner();
DCHECK(task_runner->BelongsToCurrentThread());
- client_.reset(new RdpClient(task_runner, task_runner,
- webrtc::DesktopSize(width, height),
- base::UTF16ToUTF8(terminal_id), this));
+ client_.reset(new RdpClient(
+ task_runner, task_runner, webrtc::DesktopSize(width, height),
+ base::UTF16ToUTF8(terminal_id), port_number, this));
return S_OK;
}
« no previous file with comments | « remoting/host/win/rdp_desktop_session.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698