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

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

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 #include "chrome/installer/gcapi/gcapi_test_registry_overrider.h"
6
7 #include "base/guid.h"
8 #include "base/strings/string16.h"
9 #include "base/strings/utf_string_conversions.h"
10
11 GCAPITestRegistryOverrider::GCAPITestRegistryOverrider() {
12 // Override keys - this is undone during destruction.
13 override_manager_.OverrideRegistry(HKEY_CURRENT_USER);
14 override_manager_.OverrideRegistry(HKEY_LOCAL_MACHINE);
15 }
16
17 GCAPITestRegistryOverrider::~GCAPITestRegistryOverrider() {
18 }
OLDNEW
« no previous file with comments | « chrome/installer/gcapi/gcapi_test_registry_overrider.h ('k') | chrome/installer/mini_installer/configuration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698