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.
5 #ifndef CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_
6 #define CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_
8 #include "base/test/test_reg_util_win.h"
10 // Overrides the registry throughout its lifetime; used by GCAPI tests
11 // overriding the registry.
12 class GCAPITestRegistryOverrider
{
14 GCAPITestRegistryOverrider();
15 ~GCAPITestRegistryOverrider();
18 registry_util::RegistryOverrideManager override_manager_
;
20 DISALLOW_COPY_AND_ASSIGN(GCAPITestRegistryOverrider
);
23 #endif // CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_