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

Unified Diff: base/process/process.h

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
Patch Set: Created 5 years, 1 month 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/memory_win.cc ('k') | base/process/process_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « base/process/memory_win.cc ('k') | base/process/process_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698