| Index: base/process/process_handle.h
|
| diff --git a/base/process/process_handle.h b/base/process/process_handle.h
|
| index c99ea15d5af378c15da6b2b9705514872efd2587..77f2c585cfcc71087596855fa6f83ac643ce9a6c 100644
|
| --- a/base/process/process_handle.h
|
| +++ b/base/process/process_handle.h
|
| @@ -40,30 +40,12 @@ BASE_EXPORT ProcessId GetCurrentProcId();
|
| // Returns the ProcessHandle of the current process.
|
| BASE_EXPORT ProcessHandle GetCurrentProcessHandle();
|
|
|
| -
|
| -
|
| -// Closes the process handle opened by OpenProcessHandle.
|
| -BASE_EXPORT void CloseProcessHandle(ProcessHandle process);
|
| -
|
| // Returns the unique ID for the specified process. This is functionally the
|
| // same as Windows' GetProcessId(), but works on versions of Windows before
|
| // Win XP SP1 as well.
|
| +// DEPRECATED. New code should be using Process::Pid() instead.
|
| BASE_EXPORT ProcessId GetProcId(ProcessHandle process);
|
|
|
| -#if defined(OS_WIN)
|
| -enum IntegrityLevel {
|
| - INTEGRITY_UNKNOWN,
|
| - LOW_INTEGRITY,
|
| - MEDIUM_INTEGRITY,
|
| - HIGH_INTEGRITY,
|
| -};
|
| -// Determine the integrity level of the specified process. Returns false
|
| -// if the system does not support integrity levels (pre-Vista) or in the case
|
| -// of an underlying system failure.
|
| -BASE_EXPORT bool GetProcessIntegrityLevel(ProcessHandle process,
|
| - IntegrityLevel* level);
|
| -#endif
|
| -
|
| #if defined(OS_POSIX)
|
| // Returns the path to the executable of the given process.
|
| BASE_EXPORT FilePath GetProcessExecutablePath(ProcessHandle process);
|
|
|