#include <optional>
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool.h"
#include "base/test/task_environment.h"
#include "base/test/test_timeouts.h"
#include "base/time/time.h"
namespace {
std::optional<int> FindNonTrivialFactor(int n) { … }
void FindNonTrivialFactorHelper(int n, std::optional<int>* result) { … }
void PrintStatusUpdate(base::TimeTicks start_time) { … }
void PrintStatusUpdateRepeatedly(base::TimeTicks start_time,
base::TimeDelta print_interval) { … }
}
int main(int argc, char* argv[]) { … }