summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authoramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-16 19:03:37 +0000
committeramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-16 19:03:37 +0000
commit1db1b4967ac8f1ecccc9058fa14984982d0779e3 (patch)
tree4f04151ceb6815e83e941f3ba9bc702fd9512977 /chrome_frame
parentf308683a147c096c4d4536e995ea906169af2040 (diff)
downloadchromium_src-1db1b4967ac8f1ecccc9058fa14984982d0779e3.zip
chromium_src-1db1b4967ac8f1ecccc9058fa14984982d0779e3.tar.gz
chromium_src-1db1b4967ac8f1ecccc9058fa14984982d0779e3.tar.bz2
Installer cleanup
1] Remove installer::version and use base::version in installer 2] Use file_util::FileEnumerator instead of calling FindFirstFile directly BUG=none TEST=covered by existing tests Review URL: http://codereview.chromium.org/5687004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69433 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/test/test_with_web_server.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/chrome_frame/test/test_with_web_server.cc b/chrome_frame/test/test_with_web_server.cc
index da35740..07b099a 100644
--- a/chrome_frame/test/test_with_web_server.cc
+++ b/chrome_frame/test/test_with_web_server.cc
@@ -271,16 +271,14 @@ void ChromeFrameTestWithWebServer::VersionTest(BrowserKind browser,
// the directory where chrome is installed.
if (!version_info) {
BrowserDistribution* dist = BrowserDistribution::GetDistribution();
- scoped_ptr<installer::Version> ver_system(
- InstallUtil::GetChromeVersion(dist, true));
- scoped_ptr<installer::Version> ver_user(
- InstallUtil::GetChromeVersion(dist, false));
+ scoped_ptr<Version> ver_system(InstallUtil::GetChromeVersion(dist, true));
+ scoped_ptr<Version> ver_user(InstallUtil::GetChromeVersion(dist, false));
ASSERT_TRUE(ver_system.get() || ver_user.get());
bool system_install = ver_system.get() ? true : false;
FilePath cf_dll_path(installer::GetChromeInstallPath(system_install, dist));
- cf_dll_path = cf_dll_path.Append(
- ver_system.get() ? ver_system->GetString() : ver_user->GetString());
+ cf_dll_path = cf_dll_path.Append(UTF8ToWide(
+ ver_system.get() ? ver_system->GetString() : ver_user->GetString()));
cf_dll_path = cf_dll_path.Append(kChromeFrameDllName);
version_info = FileVersionInfo::CreateFileVersionInfo(cf_dll_path);
if (version_info)