diff options
-rw-r--r-- | chrome/installer/util/google_chrome_distribution_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/installer/util/google_chrome_distribution_unittest.cc b/chrome/installer/util/google_chrome_distribution_unittest.cc index 9bb3be8..14228dd 100644 --- a/chrome/installer/util/google_chrome_distribution_unittest.cc +++ b/chrome/installer/util/google_chrome_distribution_unittest.cc @@ -185,7 +185,7 @@ TEST_F(GoogleChromeDistributionTest, UpdateDiffInstallStatusTest) { #endif TEST(MasterPreferences, ParseDistroParams) { - FilePath prefs; + std::wstring prefs; ASSERT_TRUE(file_util::CreateTemporaryFileName(&prefs)); const char text[] = "{ \n" @@ -206,8 +206,8 @@ TEST(MasterPreferences, ParseDistroParams) { " }\n" "} \n"; - EXPECT_TRUE(file_util::WriteFile(prefs.value(), text, sizeof(text))); - int result = installer_util::ParseDistributionPreferences(prefs.value()); + EXPECT_TRUE(file_util::WriteFile(prefs, text, sizeof(text))); + int result = installer_util::ParseDistributionPreferences(prefs); EXPECT_FALSE(result & installer_util::MASTER_PROFILE_NOT_FOUND); EXPECT_FALSE(result & installer_util::MASTER_PROFILE_ERROR); EXPECT_TRUE(result & installer_util::MASTER_PROFILE_NO_FIRST_RUN_UI); |