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

Side by Side Diff: third_party/psutil/psutil/arch/mswindows/process_info.h

Issue 8159001: Update third_party/psutil and fix the licence issue with it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove the suppression and unnecessary files. Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * $Id: process_info.h 779 2010-11-08 20:34:16Z g.rodola $ 2 * $Id: process_info.h 1142 2011-10-05 18:45:49Z g.rodola $
3 *
4 * Copyright (c) 2009, Jay Loden, Giampaolo Rodola'. All rights reserved.
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
3 * 7 *
4 * Helper functions related to fetching process information. Used by _psutil_msw indows 8 * Helper functions related to fetching process information. Used by _psutil_msw indows
5 * module methods. 9 * module methods.
6 */ 10 */
7 11
8 #include <Python.h> 12 #include <Python.h>
9 #include <windows.h> 13 #include <windows.h>
10 14
11 PyObject * NoSuchProcess(void);
12 PyObject * AccessDenied(void);
13 HANDLE handle_from_pid_waccess(DWORD pid, DWORD dwDesiredAccess); 15 HANDLE handle_from_pid_waccess(DWORD pid, DWORD dwDesiredAccess);
14 HANDLE handle_from_pid(DWORD pid); 16 HANDLE handle_from_pid(DWORD pid);
15 PVOID GetPebAddress(HANDLE ProcessHandle); 17 PVOID GetPebAddress(HANDLE ProcessHandle);
16 HANDLE handle_from_pid(DWORD pid); 18 HANDLE handle_from_pid(DWORD pid);
17 BOOL is_running(HANDLE hProcess); 19 BOOL is_running(HANDLE hProcess);
18 int pid_in_proclist(DWORD pid); 20 int pid_in_proclist(DWORD pid);
19 int pid_is_running(DWORD pid); 21 int pid_is_running(DWORD pid);
20 int is_system_proc(DWORD pid);
21 PyObject* get_arg_list(long pid); 22 PyObject* get_arg_list(long pid);
22 PyObject* get_ppid(long pid); 23 PyObject* get_ppid(long pid);
23 PyObject* get_name(long pid); 24 PyObject* get_name(long pid);
24 DWORD* get_pids(DWORD *numberOfReturnedPIDs); 25 DWORD* get_pids(DWORD *numberOfReturnedPIDs);
OLDNEW
« no previous file with comments | « third_party/psutil/psutil/arch/mswindows/process_handles.c ('k') | third_party/psutil/psutil/arch/mswindows/process_info.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698