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

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

Issue 10824316: Avoid calling GetNamedPipeClientProcessId() which is not available on XP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 8 years, 4 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/wts_session_process_launcher.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/wts_session_process_launcher.cc
diff --git a/remoting/host/win/wts_session_process_launcher.cc b/remoting/host/win/wts_session_process_launcher.cc
index e57d37c93e03cd573d8db8ddb0e28543c9353256..42cb702a9d3dfff8b5354045670f579cb312c602 100644
--- a/remoting/host/win/wts_session_process_launcher.cc
+++ b/remoting/host/win/wts_session_process_launcher.cc
@@ -205,16 +205,8 @@ void WtsSessionProcessLauncher::DoKillProcess(DWORD exit_code) {
}
}
-void WtsSessionProcessLauncher::OnChannelConnected(DWORD peer_pid) {
+void WtsSessionProcessLauncher::OnChannelConnected() {
DCHECK(main_message_loop_->BelongsToCurrentThread());
-
- DWORD expected_pid = GetProcessId(worker_process_);
- if (peer_pid != expected_pid) {
- LOG(ERROR)
- << "Unexpected client connected: expected=" << expected_pid
- << ", actual=" << peer_pid;
- Stop();
- }
}
bool WtsSessionProcessLauncher::OnMessageReceived(const IPC::Message& message) {
« no previous file with comments | « remoting/host/win/wts_session_process_launcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698