| Index: remoting/host/heartbeat_sender.cc
|
| diff --git a/remoting/host/heartbeat_sender.cc b/remoting/host/heartbeat_sender.cc
|
| index e061accdfb7d6c5e90d8523ab804ae3d40e1ac6a..706f9c8a626b25441e3c509f62d1dd309e05dc8e 100644
|
| --- a/remoting/host/heartbeat_sender.cc
|
| +++ b/remoting/host/heartbeat_sender.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/string_number_conversions.h"
|
| #include "base/time.h"
|
| #include "remoting/base/constants.h"
|
| +#include "remoting/host/constants.h"
|
| #include "remoting/jingle_glue/iq_sender.h"
|
| #include "remoting/jingle_glue/jingle_thread.h"
|
| #include "remoting/jingle_glue/signal_strategy.h"
|
| @@ -43,8 +44,6 @@ const int64 kResendDelayMs = 10 * 1000; // 10 seconds.
|
| const int64 kResendDelayOnHostNotFoundMs = 10 * 1000; // 10 seconds.
|
| const int kMaxResendOnHostNotFoundCount = 12; // 2 minutes (12 x 10 seconds).
|
|
|
| -const int kExitCodeHostIdInvalid = 100;
|
| -
|
| } // namespace
|
|
|
| HeartbeatSender::HeartbeatSender(
|
| @@ -138,7 +137,7 @@ void HeartbeatSender::ProcessResponse(IqRequest* request,
|
| // shut down the host properly, instead of just exiting here
|
| // (http://crbug.com/112160).
|
| LOG(ERROR) << "Exit: Host ID not found";
|
| - exit(kExitCodeHostIdInvalid);
|
| + exit(kInvalidHostIdExitCode);
|
| }
|
| }
|
|
|
|
|