C++程序  |  20行  |  631 B

// Copyright (c) 2013 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 BASE_TEST_TEST_PROCESS_KILLER_WIN_H_
#define BASE_TEST_TEST_PROCESS_KILLER_WIN_H_

#include "base/strings/string16.h"

namespace base {

// Kills all running processes named |process_name| that have the string
// |argument| on their command line.
bool KillAllNamedProcessesWithArgument(const string16& process_name,
                                       const string16& argument);

}  // namespace base

#endif  // BASE_TEST_TEST_PROCESS_KILLER_WIN_H_