Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: chrome/installer/gcapi/gcapi_test_registry_overrider.h

Issue 2692843002: Fail tests fast if overriding the Windows registry fails. (Closed)
Patch Set: sync to position 450085 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/installer/gcapi/gcapi_reactivation_test.cc ('k') | chrome/installer/gcapi/gcapi_test_registry_overrider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698