| Index: base/process/process.h
|
| diff --git a/base/process/process.h b/base/process/process.h
|
| index 1559554c011f2bb3f389ac03427daa018273ac90..a95442fd0c68408167403c9d9fadf39ffdc2b410 100644
|
| --- a/base/process/process.h
|
| +++ b/base/process/process.h
|
| @@ -12,10 +12,6 @@
|
| #include "base/time/time.h"
|
| #include "build/build_config.h"
|
|
|
| -#if defined(OS_WIN)
|
| -#include "base/win/scoped_handle.h"
|
| -#endif
|
| -
|
| namespace base {
|
|
|
| // Provides a move-only encapsulation of a process.
|
| @@ -57,12 +53,6 @@ class BASE_EXPORT Process {
|
| // address space and duplicate handles).
|
| static Process OpenWithExtraPrivileges(ProcessId pid);
|
|
|
| -#if defined(OS_WIN)
|
| - // Returns a Process for the given |pid|, using some |desired_access|.
|
| - // See ::OpenProcess documentation for valid |desired_access|.
|
| - static Process OpenWithAccess(ProcessId pid, DWORD desired_access);
|
| -#endif
|
| -
|
| // Creates an object from a |handle| owned by someone else.
|
| // Don't use this for new code. It is only intended to ease the migration to
|
| // a strict ownership model.
|
| @@ -144,12 +134,7 @@ class BASE_EXPORT Process {
|
| int GetPriority() const;
|
|
|
| private:
|
| -#if defined(OS_WIN)
|
| - bool is_current_process_;
|
| - win::ScopedHandle process_;
|
| -#else
|
| ProcessHandle process_;
|
| -#endif
|
| };
|
|
|
| } // namespace base
|
|
|