OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Information about the current process. | 5 // Information about the current process. |
6 | 6 |
7 #ifndef RLZ_WIN_LIB_PROCESS_INFO_H_ | 7 #ifndef RLZ_WIN_LIB_PROCESS_INFO_H_ |
8 #define RLZ_WIN_LIB_PROCESS_INFO_H_ | 8 #define RLZ_WIN_LIB_PROCESS_INFO_H_ |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 // All these functions cache the result after first run. | 23 // All these functions cache the result after first run. |
24 static bool IsRunningAsSystem(); | 24 static bool IsRunningAsSystem(); |
25 static bool HasAdminRights(); // System / Admin / High Elevation on Vista | 25 static bool HasAdminRights(); // System / Admin / High Elevation on Vista |
26 | 26 |
27 private: | 27 private: |
28 DISALLOW_COPY_AND_ASSIGN(ProcessInfo); | 28 DISALLOW_COPY_AND_ASSIGN(ProcessInfo); |
29 }; // class | 29 }; // class |
30 }; // namespace | 30 }; // namespace |
31 | 31 |
32 #endif // RLZ_WIN_LIB_PROCESS_INFO_H_ | 32 #endif // RLZ_WIN_LIB_PROCESS_INFO_H_ |
OLD | NEW |