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

Unified Diff: third_party/psutil/psutil/arch/mswindows/security.h

Issue 6246123: Moving psutil to third_party. This is first step for Media Performance test project. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: modification based on code review's comments Created 9 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: third_party/psutil/psutil/arch/mswindows/security.h
diff --git a/third_party/psutil/psutil/arch/mswindows/security.h b/third_party/psutil/psutil/arch/mswindows/security.h
new file mode 100644
index 0000000000000000000000000000000000000000..5c556435709defd08f4417165451608faeb5854e
--- /dev/null
+++ b/third_party/psutil/psutil/arch/mswindows/security.h
@@ -0,0 +1,16 @@
+/*
+ * $Id: security.h 435 2009-09-19 09:32:29Z jloden $
+ *
+ * Security related functions for Windows platform (Set privileges such as
+ * SeDebug), as well as security helper functions.
+ */
+
+#include <windows.h>
+
+
+BOOL SetPrivilege(HANDLE hToken, LPCTSTR Privilege, BOOL bEnablePrivilege);
+int SetSeDebug();
+int UnsetSeDebug();
+HANDLE token_from_handle(HANDLE hProcess);
+int HasSystemPrivilege(HANDLE hProcess);
+
« no previous file with comments | « third_party/psutil/psutil/arch/mswindows/process_info.c ('k') | third_party/psutil/psutil/arch/mswindows/security.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698