Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10517)

Unified Diff: chrome/installer/util/helper_unittest.cc

Issue 5848005: base/version: remove wstring version (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/setup/setup_util.cc ('k') | chrome/installer/util/install_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/helper_unittest.cc
diff --git a/chrome/installer/util/helper_unittest.cc b/chrome/installer/util/helper_unittest.cc
index 7c1e955900ed5b489f9c107a89a1f77f67c32f14..5f02a7e8bbc440a2f84c967b77974fc6d7c9aab0 100644
--- a/chrome/installer/util/helper_unittest.cc
+++ b/chrome/installer/util/helper_unittest.cc
@@ -109,7 +109,7 @@ TEST_F(SetupHelperTest, Delete) {
CreateTextFile(chrome_dll_4.value(), text_content_1);
ASSERT_TRUE(file_util::PathExists(chrome_dll_4));
- scoped_ptr<Version> latest_version(Version::GetVersionFromString(L"1.0.4.0"));
+ scoped_ptr<Version> latest_version(Version::GetVersionFromString("1.0.4.0"));
ChromePackageProperties properties;
scoped_refptr<Package> package(new Package(true, chrome_dir, &properties));
package->RemoveOldVersionDirectories(*latest_version.get());
@@ -184,7 +184,7 @@ TEST_F(SetupHelperTest, DeleteInUsed) {
CreateTextFile(chrome_dll_4.value(), text_content_1);
ASSERT_TRUE(file_util::PathExists(chrome_dll_4));
- scoped_ptr<Version> latest_version(Version::GetVersionFromString(L"1.0.4.0"));
+ scoped_ptr<Version> latest_version(Version::GetVersionFromString("1.0.4.0"));
ChromePackageProperties properties;
scoped_refptr<Package> install_path(new Package(true, chrome_dir,
&properties));
« no previous file with comments | « chrome/installer/setup/setup_util.cc ('k') | chrome/installer/util/install_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698