Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: rlz/win/lib/registry_util.h

Issue 1547683004: Switch to standard integer types in rlz/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « rlz/win/lib/process_info.cc ('k') | rlz/win/lib/rlz_lib_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include <stddef.h>
9
8 namespace base { 10 namespace base {
9 namespace win { 11 namespace win {
10 class RegKey; 12 class RegKey;
11 } // namespace win 13 } // namespace win
12 } // namespace base 14 } // namespace base
13 15
14 namespace rlz_lib { 16 namespace rlz_lib {
15 17
16 bool RegKeyReadValue(const base::win::RegKey& key, 18 bool RegKeyReadValue(const base::win::RegKey& key,
17 const wchar_t* name, 19 const wchar_t* name,
18 char* value, 20 char* value,
19 size_t* value_size); 21 size_t* value_size);
20 22
21 bool RegKeyWriteValue(base::win::RegKey* key, 23 bool RegKeyWriteValue(base::win::RegKey* key,
22 const wchar_t* name, 24 const wchar_t* name,
23 const char* value); 25 const char* value);
24 26
25 bool HasUserKeyAccess(bool write_access); 27 bool HasUserKeyAccess(bool write_access);
26 28
27 } // namespace rlz_lib 29 } // namespace rlz_lib
28 30
29 #endif // RLZ_WIN_LIB_REGISTRY_UTIL_H_ 31 #endif // RLZ_WIN_LIB_REGISTRY_UTIL_H_
OLDNEW
« no previous file with comments | « rlz/win/lib/process_info.cc ('k') | rlz/win/lib/rlz_lib_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698