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

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

Issue 2181493002: Return unique_ptrs from base::ProcessMetrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove os_resource_win.* Created 4 years, 5 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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698