// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/host/shutdown_watchdog.h" #include <stdlib.h> // For _exit() on Windows. #include "base/logging.h" #include "build/build_config.h" #if BUILDFLAG(IS_POSIX) #include <unistd.h> #endif // BUILDFLAG(IS_POSIX) namespace remoting { ShutdownWatchdog::ShutdownWatchdog(const base::TimeDelta& duration) : … { … } void ShutdownWatchdog::Arm() { … } void ShutdownWatchdog::SetExitCode(int exit_code) { … } void ShutdownWatchdog::Alarm() { … } } // namespace remoting