Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_ |
| 6 #define CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_ |
| 7 | 7 |
| 8 #include "base/process_util.h" | |
| 9 | 8 |
|
Nico
2013/07/22 21:02:02
This doesn't look right, the header uses ProcessHa
Robert Sesek
2013/07/22 21:17:19
Thanks. Something must have transitively included
| |
| 10 namespace task_manager { | 9 namespace task_manager { |
| 11 | 10 |
| 12 // Get the current number of GDI handles in use (and peak on >= Win7+). | 11 // Get the current number of GDI handles in use (and peak on >= Win7+). |
| 13 void GetWinGDIHandles(base::ProcessHandle process, | 12 void GetWinGDIHandles(base::ProcessHandle process, |
| 14 size_t* current, | 13 size_t* current, |
| 15 size_t* peak); | 14 size_t* peak); |
| 16 | 15 |
| 17 // Get the current number of USER handles in use (and peak on >= Win7). | 16 // Get the current number of USER handles in use (and peak on >= Win7). |
| 18 void GetWinUSERHandles(base::ProcessHandle process, | 17 void GetWinUSERHandles(base::ProcessHandle process, |
| 19 size_t* current, | 18 size_t* current, |
| 20 size_t* peak); | 19 size_t* peak); |
| 21 | 20 |
| 22 } // namespace task_manager | 21 } // namespace task_manager |
| 23 | 22 |
| 24 #endif // CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_ | 23 #endif // CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_ |
| OLD | NEW |