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 // A helper library to keep track of a user's key by SID. | 5 // A helper library to keep track of a user's key by SID. |
6 // Used by RLZ libary. Also to be used by SearchWithGoogle library. | 6 // Used by RLZ libary. Also to be used by SearchWithGoogle library. |
7 | 7 |
8 #include "rlz/win/lib/registry_util.h" | 8 #include "rlz/win/lib/registry_util.h" |
9 | 9 |
10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 } | 68 } |
69 if (level <= base::LOW_INTEGRITY) { | 69 if (level <= base::LOW_INTEGRITY) { |
70 ASSERT_STRING("UserKey::HasAccess: Cannot write from Low Integrity."); | 70 ASSERT_STRING("UserKey::HasAccess: Cannot write from Low Integrity."); |
71 return false; | 71 return false; |
72 } | 72 } |
73 } | 73 } |
74 return true; | 74 return true; |
75 } | 75 } |
76 | 76 |
77 } // namespace rlz_lib | 77 } // namespace rlz_lib |
OLD | NEW |