blob: ca6a2af18746d67792bb0da3e698eb98f5f117f8 [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.
#include "base/command_line.h"
#include "base/process/process.h"
#include "base/strings/string16.h"
namespace chrome_cleaner {
// The name of the service executable used for tests.
extern const base::char16 kTestServiceExecutableName[];
// The name of the executable used for tests.
extern const base::char16 kTestProcessExecutableName[];
// Creates a process that will run for a minute, which is long enough to be
// killed by a reasonably fast unit or integration test.
// Populates |command_line| with the used command line if it is not nullptr.
base::Process LongRunningProcess(base::CommandLine* command_line);
} // namespace chrome_cleaner