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 #include "rlz/win/lib/process_info.h" | 7 #include "rlz/win/lib/process_info.h" |
8 | 8 |
9 #include <windows.h> | 9 #include <windows.h> |
10 #include <Sddl.h> // For ConvertSidToStringSid. | 10 #include <Sddl.h> // For ConvertSidToStringSid. |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 } | 187 } |
188 | 188 |
189 evaluated = true; | 189 evaluated = true; |
190 if (!has_rights) | 190 if (!has_rights) |
191 ASSERT_STRING("ProcessInfo::HasAdminRights: Does not have admin rights."); | 191 ASSERT_STRING("ProcessInfo::HasAdminRights: Does not have admin rights."); |
192 | 192 |
193 return has_rights; | 193 return has_rights; |
194 } | 194 } |
195 | 195 |
196 }; // namespace | 196 }; // namespace |
OLD | NEW |