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

Unified Diff: chrome/installer/gcapi/gcapi_test_registry_overrider.h

Issue 23579003: GCAPI should append to the existing experiment_labels instead of clobbering them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review++ Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/gcapi/gcapi_test.cc ('k') | chrome/installer/gcapi/gcapi_test_registry_overrider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/gcapi/gcapi_test_registry_overrider.h
diff --git a/chrome/installer/gcapi/gcapi_test_registry_overrider.h b/chrome/installer/gcapi/gcapi_test_registry_overrider.h
new file mode 100644
index 0000000000000000000000000000000000000000..3a7fa78f416eb27f23a97a54f50420e2e12ae991
--- /dev/null
+++ b/chrome/installer/gcapi/gcapi_test_registry_overrider.h
@@ -0,0 +1,23 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_
+#define CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_
+
+#include "base/test/test_reg_util_win.h"
+
+// Overrides the registry throughout its lifetime; used by GCAPI tests
+// overriding the registry.
+class GCAPITestRegistryOverrider {
+ public:
+ GCAPITestRegistryOverrider();
+ ~GCAPITestRegistryOverrider();
+
+ private:
+ registry_util::RegistryOverrideManager override_manager_;
+
+ DISALLOW_COPY_AND_ASSIGN(GCAPITestRegistryOverrider);
+};
+
+#endif // CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_
« no previous file with comments | « chrome/installer/gcapi/gcapi_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