summaryrefslogtreecommitdiffstats
path: root/remoting/host/daemon_process_unittest.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/daemon_process_unittest.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/daemon_process_unittest.cc')
-rw-r--r--remoting/host/daemon_process_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/daemon_process_unittest.cc b/remoting/host/daemon_process_unittest.cc
index edbc8e2..5ca1285 100644
--- a/remoting/host/daemon_process_unittest.cc
+++ b/remoting/host/daemon_process_unittest.cc
@@ -175,7 +175,7 @@ DesktopSession* DaemonProcessTest::DoCreateDesktopSession(int terminal_id) {
void DaemonProcessTest::LaunchNetworkProcess() {
terminal_id_ = 0;
- daemon_process_->OnChannelConnected();
+ daemon_process_->OnChannelConnected(0);
}
void DaemonProcessTest::DeleteDaemonProcess() {