blob: 3f59a3224449e789f99ec66a78e610269ad1dfcb [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_CHROME_CLEANER_OS_EARLY_EXIT_H_
#define CHROME_CHROME_CLEANER_OS_EARLY_EXIT_H_
namespace chrome_cleaner {
// Terminates the current process with |exit_code|. This function should always
// be used for early termination, such as on a watchdog timeout or critical
// error, because it handles corner cases correctly. See
// http://crbug.com/603131#c27 for more details.
void EarlyExit(int exit_code);
} // namespace chrome_cleaner
#endif // CHROME_CHROME_CLEANER_OS_EARLY_EXIT_H_