OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef RLZ_WIN_LIB_REGISTRY_UTIL_H_ | |
6 #define RLZ_WIN_LIB_REGISTRY_UTIL_H_ | |
7 | |
8 namespace base { | |
9 namespace win { | |
10 class RegKey; | |
11 } // namespace win | |
12 } // namespace base | |
13 | |
14 namespace rlz_lib { | |
15 | |
16 bool RegKeyReadValue(base::win::RegKey& key, | |
17 const wchar_t* name, | |
18 char* value, | |
19 size_t* value_size); | |
20 | |
21 bool RegKeyWriteValue(base::win::RegKey& key, | |
22 const wchar_t* name, | |
23 const char* value); | |
24 | |
25 bool HasUserKeyAccess(bool write_access); | |
26 | |
27 } // namespace rlz_lib | |
28 | |
29 #endif // RLZ_WIN_LIB_REGISTRY_UTIL_H_ | |
OLD | NEW |