Use RegistryOverrideManager properly in RLZ tests.
commit20402235d708145f61c1fe41a4d7b8ddc35a15be
authorgrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 14 Nov 2013 07:43:20 +0000 (14 07:43 +0000)
committergrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 14 Nov 2013 07:43:20 +0000 (14 07:43 +0000)
tree9acfda4ab3c09257f8515019c63a4981c49859c5
parentb7c04c11491d6c37c22b9ebb49696cafefb38c09
Use RegistryOverrideManager properly in RLZ tests.

Previously, rlz/test/rlz_test_helpers.cc and
chrome/browser/rlz/rlz_unittest.cc each did somewhat different things to
prepare the registry for tests. Now, rlz_test_helpers.cc does the prep
the right way using RegistryOverrideManager and rlz_unittests.cc uses
rlz_test_helpers.cc.

This unblocks the refactor in r234367 that was reverted in r234627.

BUG=314800
R=rogerta@chromium.org, tommycli@chromium.org

Review URL: https://codereview.chromium.org/63153009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235090 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/rlz/rlz_unittest.cc
chrome/chrome_tests_unit.gypi
rlz/lib/rlz_lib.h
rlz/rlz.gyp
rlz/test/rlz_test_helpers.cc
rlz/test/rlz_test_helpers.h
rlz/win/dll/exports.cc
rlz/win/lib/machine_deal.h
rlz/win/lib/rlz_lib.h [deleted file]
rlz/win/lib/rlz_lib_win.cc