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

Side by Side Diff: chrome/browser/task_manager/os_resource_win.h

Issue 15196003: Create task_manager namespace and wrap classes related to TaskManager with it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 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 // 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_TASK_MANAGER_OS_RESOURCES_WIN_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_
6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_OS_RESOURCES_WIN_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_
7 7
8 #include "base/process_util.h" 8 #include "base/process_util.h"
9 9
10 namespace task_manager {
11
10 // Get the current number of GDI handles in use (and peak on >= Win7+). 12 // Get the current number of GDI handles in use (and peak on >= Win7+).
11 void GetWinGDIHandles(base::ProcessHandle process, 13 void GetWinGDIHandles(base::ProcessHandle process,
12 size_t* current, 14 size_t* current,
13 size_t* peak); 15 size_t* peak);
14 16
15 // Get the current number of USER handles in use (and peak on >= Win7). 17 // Get the current number of USER handles in use (and peak on >= Win7).
16 void GetWinUSERHandles(base::ProcessHandle process, 18 void GetWinUSERHandles(base::ProcessHandle process,
17 size_t* current, 19 size_t* current,
18 size_t* peak); 20 size_t* peak);
19 21
20 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_OS_RESOURCES_WIN_H_ 22 } // namespace task_manager
23
24 #endif // CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/notification_resource_provider.cc ('k') | chrome/browser/task_manager/os_resource_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698