Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2413)

Unified Diff: base/process/kill.cc

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process/kill.h ('k') | base/process/kill_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/kill.cc
diff --git a/base/process/kill.cc b/base/process/kill.cc
deleted file mode 100644
index 5d8ba6a2d753cb0c4d50b5de87c3c6c6be55f777..0000000000000000000000000000000000000000
--- a/base/process/kill.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// 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.
-
-#include "base/process/kill.h"
-
-#include "base/process/process_iterator.h"
-
-namespace base {
-
-bool KillProcesses(const FilePath::StringType& executable_name,
- int exit_code,
- const ProcessFilter* filter) {
- bool result = true;
- NamedProcessIterator iter(executable_name, filter);
- while (const ProcessEntry* entry = iter.NextProcessEntry()) {
- Process process = Process::Open(entry->pid());
- result &= process.Terminate(exit_code, true);
- }
- return result;
-}
-
-} // namespace base
« no previous file with comments | « base/process/kill.h ('k') | base/process/kill_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698