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

Unified Diff: base/process/process_handle_win.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo 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
« no previous file with comments | « base/process/process_handle_posix.cc ('k') | base/process/process_iterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_handle_win.cc
diff --git a/base/process/process_handle_win.cc b/base/process/process_handle_win.cc
index 595d5b0c1834791cc2e68884bca7d03e061cf951..468331163a1423d86e13ad05a7f20bbd9f8b9afb 100644
--- a/base/process/process_handle_win.cc
+++ b/base/process/process_handle_win.cc
@@ -36,18 +36,6 @@ bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) {
return true;
}
-bool OpenProcessHandleWithAccess(ProcessId pid,
- uint32 access_flags,
- ProcessHandle* handle) {
- ProcessHandle result = OpenProcess(access_flags, FALSE, pid);
-
- if (result == NULL)
- return false;
-
- *handle = result;
- return true;
-}
-
void CloseProcessHandle(ProcessHandle process) {
CloseHandle(process);
}
« no previous file with comments | « base/process/process_handle_posix.cc ('k') | base/process/process_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698