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

Unified Diff: base/process/process_handle_posix.cc

Issue 860453002: Move OpenProcessHandleWithAccess to Process::OpenWithAccess. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ServiceProcessControlBrowserTest.Setup again Created 5 years, 11 months 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
Index: base/process/process_handle_posix.cc
diff --git a/base/process/process_handle_posix.cc b/base/process/process_handle_posix.cc
index 94b2c2ff1a1567931dfa38f518fb192eabe4e8b7..3d92300a7bcadf809559aefdcd46bccb12d0c4fb 100644
--- a/base/process/process_handle_posix.cc
+++ b/base/process/process_handle_posix.cc
@@ -23,14 +23,6 @@ bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) {
return true;
}
-bool OpenProcessHandleWithAccess(ProcessId pid,
- uint32 access_flags,
- ProcessHandle* handle) {
- // On POSIX permissions are checked for each operation on process,
- // not when opening a "handle".
- return OpenProcessHandle(pid, handle);
-}
-
void CloseProcessHandle(ProcessHandle process) {
// See OpenProcessHandle, nothing to do.
return;

Powered by Google App Engine
This is Rietveld 408576698