summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/helper_unittest.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 18:10:13 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 18:10:13 +0000
commitd54030f704e1050a052a56515a007e1787793037 (patch)
tree9ecc9b80eee4891ea599fd44521e81029e609e88 /chrome/installer/util/helper_unittest.cc
parent7f1f8e39214e49ea62c3038f886b4df540aadb42 (diff)
downloadchromium_src-d54030f704e1050a052a56515a007e1787793037.zip
chromium_src-d54030f704e1050a052a56515a007e1787793037.tar.gz
chromium_src-d54030f704e1050a052a56515a007e1787793037.tar.bz2
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 <thiago.farina@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/helper_unittest.cc')
-rw-r--r--chrome/installer/util/helper_unittest.cc4
1 files changed, 2 insertions, 2 deletions
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));