diff options
author | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 18:10:13 +0000 |
---|---|---|
committer | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 18:10:13 +0000 |
commit | d54030f704e1050a052a56515a007e1787793037 (patch) | |
tree | 9ecc9b80eee4891ea599fd44521e81029e609e88 /chrome_frame/test | |
parent | 7f1f8e39214e49ea62c3038f886b4df540aadb42 (diff) | |
download | chromium_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_frame/test')
-rw-r--r-- | chrome_frame/test/chrome_frame_unittests.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome_frame/test/chrome_frame_unittests.cc b/chrome_frame/test/chrome_frame_unittests.cc index 225eda8..5200ab5 100644 --- a/chrome_frame/test/chrome_frame_unittests.cc +++ b/chrome_frame/test/chrome_frame_unittests.cc @@ -243,10 +243,10 @@ void ChromeFrameTestWithWebServer::VersionTest(BrowserKind browser, ASSERT_TRUE(ver_system || ver_user); bool system_install = ver_system ? true : false; - std::wstring npchrome_path(installer::GetChromeInstallPath(system_install)); - file_util::AppendToPath(&npchrome_path, + FilePath npchrome_path(installer::GetChromeInstallPath(system_install)); + npchrome_path = npchrome_path.Append( ver_system ? ver_system->GetString() : ver_user->GetString()); - file_util::AppendToPath(&npchrome_path, L"npchrome_tab.dll"); + npchrome_path = npchrome_path.Append(L"npchrome_tab.dll"); version_info = FileVersionInfo::CreateFileVersionInfo(npchrome_path); if (version_info) version = version_info->product_version(); |