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

Unified Diff: remoting/host/desktop_process_main.cc

Issue 1735523003: Improve handling of invalid command line in Me2Me host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@win_threads
Patch Set: Created 4 years, 10 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 | « no previous file | remoting/host/host_exit_codes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_process_main.cc
diff --git a/remoting/host/desktop_process_main.cc b/remoting/host/desktop_process_main.cc
index 794128c5f81e0ead4c9efa54d9f533305aaaa84a..7116580f75020ddb531a7a41dee596ef7b2e3e7d 100644
--- a/remoting/host/desktop_process_main.cc
+++ b/remoting/host/desktop_process_main.cc
@@ -32,7 +32,7 @@ int DesktopProcessMain() {
command_line->GetSwitchValueASCII(kDaemonPipeSwitchName);
if (channel_name.empty())
- return kUsageExitCode;
+ return kInvalidCommandLineExitCode;
base::MessageLoopForUI message_loop;
base::RunLoop run_loop;
« no previous file with comments | « no previous file | remoting/host/host_exit_codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698