| Index: remoting/host/remoting_me2me_host.cc
|
| diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
|
| index adb79f9855ae7623879e30c543b7df3ebe13bca7..b71427605803ef9af925533fe6b1436909e3d878 100644
|
| --- a/remoting/host/remoting_me2me_host.cc
|
| +++ b/remoting/host/remoting_me2me_host.cc
|
| @@ -48,6 +48,9 @@
|
|
|
| namespace {
|
|
|
| +const int kSuccessExitCode = 0;
|
| +const int kInvalidHostConfigurationExitCode = 1;
|
| +
|
| // This is used for tagging system event logs.
|
| const char kApplicationName[] = "chromoting";
|
|
|
| @@ -107,7 +110,7 @@ class HostProcess : public OAuthClient::Delegate {
|
| int Run() {
|
| bool tokens_pending = false;
|
| if (!LoadConfig(file_io_thread_.message_loop_proxy(), &tokens_pending)) {
|
| - return 1;
|
| + return kInvalidHostConfigurationExitCode;
|
| }
|
| if (tokens_pending) {
|
| // If we have an OAuth refresh token, then XmppSignalStrategy can't
|
| @@ -122,7 +125,7 @@ class HostProcess : public OAuthClient::Delegate {
|
|
|
| message_loop_.Run();
|
|
|
| - return 0;
|
| + return kSuccessExitCode;
|
| }
|
|
|
| // Overridden from OAuthClient::Delegate
|
|
|