Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / installer / gcapi / gcapi_test_registry_overrider.h
blob44dfed033b4339f79e35701d86c9f2426b001be1
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 {
13 public:
14 GCAPITestRegistryOverrider();
15 ~GCAPITestRegistryOverrider();
17 private:
18 registry_util::RegistryOverrideManager override_manager_;
20 DISALLOW_COPY_AND_ASSIGN(GCAPITestRegistryOverrider);
23 #endif // CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_