summaryrefslogtreecommitdiffstats
path: root/remoting/host/desktop_session_win.cc
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-18 20:34:21 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-18 20:34:21 +0000
commitb15c87071f906301bccc824ce013966ca93998c7 (patch)
tree705577ea30237afdb805ef699e7cdca418e247be /remoting/host/desktop_session_win.cc
parenteadaca8e6f40e19cd9111adaecfbcfb1b8b3ec9e (diff)
downloadchromium_src-b15c87071f906301bccc824ce013966ca93998c7.zip
chromium_src-b15c87071f906301bccc824ce013966ca93998c7.tar.gz
chromium_src-b15c87071f906301bccc824ce013966ca93998c7.tar.bz2
Validate and report peer's PID to WorkerProcessIpcDelegate so it will be able to duplicate handles to and from the worker process.
As a side effect WorkerProcessLauncher::Delegate is now responsible for retrieving the client's PID and deciding whether a launch failed due to a permanent error condition. BUG=134694 Review URL: https://chromiumcodereview.appspot.com/11143025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162778 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/desktop_session_win.cc')
-rw-r--r--remoting/host/desktop_session_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/desktop_session_win.cc b/remoting/host/desktop_session_win.cc
index 6224c3d..897a87d 100644
--- a/remoting/host/desktop_session_win.cc
+++ b/remoting/host/desktop_session_win.cc
@@ -46,7 +46,7 @@ DesktopSessionWin::~DesktopSessionWin() {
monitor_->RemoveWtsConsoleObserver(this);
}
-void DesktopSessionWin::OnChannelConnected() {
+void DesktopSessionWin::OnChannelConnected(int32 peer_pid) {
DCHECK(main_task_runner_->BelongsToCurrentThread());
}