From d54030f704e1050a052a56515a007e1787793037 Mon Sep 17 00:00:00 2001 From: "kuchhal@chromium.org" Date: Mon, 23 Nov 2009 18:10:13 +0000 Subject: installer: clean up to use FilePath instead of std::wstring. BUG=24672 TEST=installer_util_unittests and setup_unittests Review URL: http://codereview.chromium.org/385129 Patch from Thiago Farina . git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32811 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/installer/util/helper_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/installer/util/helper_unittest.cc') diff --git a/chrome/installer/util/helper_unittest.cc b/chrome/installer/util/helper_unittest.cc index 6ccbd29..fa297a5 100644 --- a/chrome/installer/util/helper_unittest.cc +++ b/chrome/installer/util/helper_unittest.cc @@ -105,7 +105,7 @@ TEST_F(SetupHelperTest, Delete) { ASSERT_TRUE(file_util::PathExists(chrome_dll_4)); std::wstring latest_version(L"1.0.4.0"); - installer::RemoveOldVersionDirs(chrome_dir.value(), latest_version); + installer::RemoveOldVersionDirs(chrome_dir, latest_version); // old versions should be gone EXPECT_FALSE(file_util::PathExists(chrome_dir_1)); @@ -178,7 +178,7 @@ TEST_F(SetupHelperTest, DeleteInUsed) { ASSERT_TRUE(file_util::PathExists(chrome_dll_4)); std::wstring latest_version(L"1.0.4.0"); - installer::RemoveOldVersionDirs(chrome_dir.value(), latest_version); + installer::RemoveOldVersionDirs(chrome_dir, latest_version); // old versions not in used should be gone EXPECT_FALSE(file_util::PathExists(chrome_dir_1)); -- cgit v1.1