| Index: base/process/process_win.cc
|
| diff --git a/base/process/process_win.cc b/base/process/process_win.cc
|
| index 2c267aaa43f6fe29019ee0a911984d62b75d457a..0107015dee8669f4964a6e95a8e790575494828d 100644
|
| --- a/base/process/process_win.cc
|
| +++ b/base/process/process_win.cc
|
| @@ -54,6 +54,11 @@ Process Process::OpenWithExtraPriviles(ProcessId pid) {
|
| }
|
|
|
| // static
|
| +Process Process::OpenWithAccess(ProcessId pid, DWORD desired_access) {
|
| + return Process(::OpenProcess(desired_access, FALSE, pid));
|
| +}
|
| +
|
| +// static
|
| Process Process::DeprecatedGetProcessFromHandle(ProcessHandle handle) {
|
| DCHECK_NE(handle, ::GetCurrentProcess());
|
| ProcessHandle out_handle;
|
| @@ -95,7 +100,7 @@ Process Process::Duplicate() const {
|
| return Process(out_handle);
|
| }
|
|
|
| -ProcessId Process::pid() const {
|
| +ProcessId Process::Pid() const {
|
| DCHECK(IsValid());
|
| return GetProcId(Handle());
|
| }
|
|
|