OLD | NEW |
| (Empty) |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_ | |
6 #define CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_ | |
7 | |
8 #include <stddef.h> | |
9 | |
10 #include "base/process/process_handle.h" | |
11 | |
12 namespace task_manager { | |
13 | |
14 // Get the current number of GDI handles in use (and peak on >= Win7+). | |
15 void GetWinGDIHandles(base::ProcessHandle process, | |
16 size_t* current, | |
17 size_t* peak); | |
18 | |
19 // Get the current number of USER handles in use (and peak on >= Win7). | |
20 void GetWinUSERHandles(base::ProcessHandle process, | |
21 size_t* current, | |
22 size_t* peak); | |
23 | |
24 } // namespace task_manager | |
25 | |
26 #endif // CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_ | |
OLD | NEW |