Index: base/process/process_handle.h |
diff --git a/base/process/process_handle.h b/base/process/process_handle.h |
index 6f8094ee80bf84a7be35fd1d647eca49f8d07046..368f952007f505709a2a1842fcaeddb9315ee515 100644 |
--- a/base/process/process_handle.h |
+++ b/base/process/process_handle.h |
@@ -44,15 +44,6 @@ BASE_EXPORT ProcessHandle GetCurrentProcessHandle(); |
// CloseProcessHandle when you are done with it. Returns true on success. |
BASE_EXPORT bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle); |
-// Converts a PID to a process handle. On Windows the handle is opened |
-// with more access rights and must only be used by trusted code. |
-// You have to close returned handle using CloseProcessHandle. Returns true |
-// on success. |
-// TODO(sanjeevr): Replace all calls to OpenPrivilegedProcessHandle with the |
-// more specific OpenProcessHandleWithAccess method and delete this. |
-BASE_EXPORT bool OpenPrivilegedProcessHandle(ProcessId pid, |
- ProcessHandle* handle); |
- |
// Converts a PID to a process handle using the desired access flags. Use a |
// combination of the kProcessAccess* flags defined above for |access_flags|. |
BASE_EXPORT bool OpenProcessHandleWithAccess(ProcessId pid, |