Home | History | Annotate | Download | only in gcapi
      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/test/test_reg_util_win.h"
      9 
     10 // Overrides the registry throughout its lifetime; used by GCAPI tests
     11 // overriding the registry.
     12 class GCAPITestRegistryOverrider {
     13  public:
     14   GCAPITestRegistryOverrider();
     15   ~GCAPITestRegistryOverrider();
     16 
     17  private:
     18   registry_util::RegistryOverrideManager override_manager_;
     19 
     20   DISALLOW_COPY_AND_ASSIGN(GCAPITestRegistryOverrider);
     21 };
     22 
     23 #endif  // CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_
     24