summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 20:01:07 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 20:01:07 +0000
commit1a772600e633d8b8f324c3b505efb45dd3b7bdd9 (patch)
tree277c9e9b98db9fb80e41df422366677c5558cd80 /chrome/installer
parente933d010faa90ca7a1774978f7ee4b48300b3b64 (diff)
downloadchromium_src-1a772600e633d8b8f324c3b505efb45dd3b7bdd9.zip
chromium_src-1a772600e633d8b8f324c3b505efb45dd3b7bdd9.tar.gz
chromium_src-1a772600e633d8b8f324c3b505efb45dd3b7bdd9.tar.bz2
* Fix Google Chrome build broken by r4284.
TBR=cpu Review URL: http://codereview.chromium.org/10686 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/google_chrome_distribution_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/util/google_chrome_distribution_unittest.cc b/chrome/installer/util/google_chrome_distribution_unittest.cc
index 6396659..34c60e1 100644
--- a/chrome/installer/util/google_chrome_distribution_unittest.cc
+++ b/chrome/installer/util/google_chrome_distribution_unittest.cc
@@ -157,7 +157,7 @@ TEST_F(GoogleChromeDistributionTest, UpdateDiffInstallStatusTest) {
work_item_list->AddCreateRegKeyWorkItem(reg_root, reg_key);
if (!work_item_list->Do())
GTEST_FATAL_FAILURE("Failed to create ClientState key.");
- } else if (key.DeleteValue(google_update::kRegApFieldName)) {
+ } else if (key.DeleteValue(google_update::kRegApField)) {
ap_key_deleted = true;
}
// try differential installer
@@ -171,7 +171,7 @@ TEST_F(GoogleChromeDistributionTest, UpdateDiffInstallStatusTest) {
// - If we created any reg key path for ap, roll it back
// - Finally restore the original value of ap key.
key.Open(HKEY_CURRENT_USER, reg_key.c_str(), KEY_ALL_ACCESS);
- key.DeleteValue(google_update::kRegApFieldName);
+ key.DeleteValue(google_update::kRegApField);
work_item_list->Rollback();
if (ap_key_deleted) {
work_item_list.reset(WorkItem::CreateWorkItemList());