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