OLD | NEW |
| (Empty) |
1 // Copyright 2013 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 CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_ | |
6 #define CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "base/test/test_reg_util_win.h" | |
10 | |
11 // Overrides the registry throughout its lifetime; used by GCAPI tests | |
12 // overriding the registry. | |
13 class GCAPITestRegistryOverrider { | |
14 public: | |
15 GCAPITestRegistryOverrider(); | |
16 ~GCAPITestRegistryOverrider(); | |
17 | |
18 private: | |
19 registry_util::RegistryOverrideManager override_manager_; | |
20 | |
21 DISALLOW_COPY_AND_ASSIGN(GCAPITestRegistryOverrider); | |
22 }; | |
23 | |
24 #endif // CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_ | |
OLD | NEW |