Delete historical data usage from store when user clears data usage.
[chromium-blink-merge.git] / rlz / win / lib / registry_util.h
blob1065233fe56864ab3290fe2865cc79137a86dd1f
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.
5 #ifndef RLZ_WIN_LIB_REGISTRY_UTIL_H_
6 #define RLZ_WIN_LIB_REGISTRY_UTIL_H_
8 namespace base {
9 namespace win {
10 class RegKey;
11 } // namespace win
12 } // namespace base
14 namespace rlz_lib {
16 bool RegKeyReadValue(const base::win::RegKey& key,
17 const wchar_t* name,
18 char* value,
19 size_t* value_size);
21 bool RegKeyWriteValue(base::win::RegKey* key,
22 const wchar_t* name,
23 const char* value);
25 bool HasUserKeyAccess(bool write_access);
27 } // namespace rlz_lib
29 #endif // RLZ_WIN_LIB_REGISTRY_UTIL_H_