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

Unified Diff: remoting/host/host_main.cc

Issue 15077010: [Chromoting] Refactored worker process launching code and speeded up the desktop process launch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 7 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/desktop_session_win.cc ('k') | remoting/host/win/unprivileged_process_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_main.cc
diff --git a/remoting/host/host_main.cc b/remoting/host/host_main.cc
index 1687758bf5be1894d039bb01a16ecd04a2b37f09..3591e555e07b7991b79986f26a7c2edd30aa7426 100644
--- a/remoting/host/host_main.cc
+++ b/remoting/host/host_main.cc
@@ -125,7 +125,9 @@ int RunElevated() {
info.nShow = SW_SHOWNORMAL;
if (!ShellExecuteEx(&info)) {
- return GetLastError();
+ DWORD exit_code = GetLastError();
+ LOG_GETLASTERROR(ERROR) << "Unable to launch '" << binary.value() << "'";
+ return exit_code;
}
return kSuccessExitCode;
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/win/unprivileged_process_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698