Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / task_manager / os_resource_win.h
blobf04e59bfc6783b13cd21b2b3028f5b007915cbff
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.
5 #ifndef CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_
6 #define CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_
8 #include "base/process/process_handle.h"
10 namespace task_manager {
12 // Get the current number of GDI handles in use (and peak on >= Win7+).
13 void GetWinGDIHandles(base::ProcessHandle process,
14 size_t* current,
15 size_t* peak);
17 // Get the current number of USER handles in use (and peak on >= Win7).
18 void GetWinUSERHandles(base::ProcessHandle process,
19 size_t* current,
20 size_t* peak);
22 } // namespace task_manager
24 #endif // CHROME_BROWSER_TASK_MANAGER_OS_RESOURCE_WIN_H_