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

Unified Diff: base/process_util_win.cc

Issue 18722: Revert r8560 due to broken interactive_ui_tests (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « base/process_util_posix.cc ('k') | chrome/browser/base_history_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_win.cc
===================================================================
--- base/process_util_win.cc (revision 8567)
+++ base/process_util_win.cc (working copy)
@@ -33,10 +33,6 @@
return ::GetCurrentProcess();
}
-bool CloseProcessHandle(ProcessHandle process) {
- return ::CloseHandle(process) ? true : false;
-}
-
// Helper for GetProcId()
bool GetProcIdViaGetProcessId(ProcessHandle process, DWORD* id) {
// Dynamically get a pointer to GetProcessId().
@@ -192,7 +188,7 @@
// Warning, this is not generic code; it heavily depends on the way
// the rest of the code kills a process.
-
+
if (exitcode == PROCESS_END_NORMAL_TERMINATON ||
exitcode == PROCESS_END_KILLED_BY_USER ||
exitcode == PROCESS_END_PROCESS_WAS_HUNG ||
« no previous file with comments | « base/process_util_posix.cc ('k') | chrome/browser/base_history_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698