blob: 5ef45f2d744c0a8c5eacc1bf9a92e27347f9131a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_REGISTRY_H_
#define BASE_REGISTRY_H_
#pragma once
// TODO(brettw) remove this file when all callers are converted to using the
// new location & namespace.
#include "base/win/registry.h"
class RegKey : public base::win::RegKey {
public:
RegKey() {}
RegKey(HKEY rootkey, const wchar_t* subkey, REGSAM access)
: base::win::RegKey(rootkey, subkey, access) {}
~RegKey() { base::win::RegKey::~RegKey(); }
};
class RegistryValueIterator : public base::win::RegistryValueIterator {
public:
RegistryValueIterator(HKEY root_key, const wchar_t* folder_key)
: base::win::RegistryValueIterator(root_key, folder_key) {}
~RegistryValueIterator() {
base::win::RegistryValueIterator::~RegistryValueIterator();
}
};
class RegistryKeyIterator : public base::win::RegistryKeyIterator {
public:
RegistryKeyIterator(HKEY root_key, const wchar_t* folder_key)
: base::win::RegistryKeyIterator(root_key, folder_key) {}
~RegistryKeyIterator() {
base::win::RegistryKeyIterator::~RegistryKeyIterator();
}
};
#endif // BASE_REGISTRY_H_
|