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

Unified Diff: base/process_util.h

Issue 14504: Get render_process_host to build on Linux by butchering a bunch of files. (Closed)
Patch Set: re-upload Created 11 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
Index: base/process_util.h
diff --git a/base/process_util.h b/base/process_util.h
index 7eabdbe1851a8f81930eb25eb0fbf68576501732..d31540deb3b993a3713286f2b642859e92dc1bd3 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -141,6 +141,9 @@ bool KillProcesses(const std::wstring& executable_name, int exit_code,
// for the process to be actually terminated before returning.
// Returns true if this is successful, false otherwise.
bool KillProcess(int process_id, int exit_code, bool wait);
+#if defined(OS_WIN)
+bool KillProcess(HANDLE process, int exit_code, bool wait);
+#endif
// Get the termination status (exit code) of the process and return true if the
// status indicates the process crashed. It is an error to call this if the
« no previous file with comments | « no previous file | base/process_util_win.cc » ('j') | chrome/browser/renderer_host/browser_render_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698