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

Unified Diff: base/test/test_process_killer_win.h

Issue 12314043: Make Ash unittests clean up zombie viewer processes between test runs. These zombie viewer proce… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "Add missing test_scrubber.cc change." Created 7 years, 10 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
Index: base/test/test_process_killer_win.h
diff --git a/base/test/test_process_killer_win.h b/base/test/test_process_killer_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..30aab8e8a1fb9f7a16af00d3403e0fbe674e00b0
--- /dev/null
+++ b/base/test/test_process_killer_win.h
@@ -0,0 +1,19 @@
+// 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/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_

Powered by Google App Engine
This is Rietveld 408576698