| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 REMOTING_HOST_WIN_ELEVATION_HELPERS_H | 5 #ifndef REMOTING_HOST_WIN_ELEVATION_HELPERS_H |
| 6 #define REMOTING_HOST_WIN_ELEVATION_HELPERS_H | 6 #define REMOTING_HOST_WIN_ELEVATION_HELPERS_H |
| 7 | 7 |
| 8 namespace remoting { | 8 namespace remoting { |
| 9 | 9 |
| 10 // Determines whether the current process is elevated. | 10 // Determines whether the current process is elevated. |
| 11 bool IsProcessElevated(); | 11 bool IsProcessElevated(); |
| 12 | 12 |
| 13 // Determines whether the current process has the UiAccess privilege. |
| 14 bool CurrentProcessHasUiAccess(); |
| 15 |
| 13 } // namespace remoting | 16 } // namespace remoting |
| 14 | 17 |
| 15 #endif // REMOTING_HOST_WIN_ELEVATION_HELPERS_H | 18 #endif // REMOTING_HOST_WIN_ELEVATION_HELPERS_H |
| OLD | NEW |