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

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

Issue 2321573002: //chrome misc: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix Win compilation Created 4 years, 3 months 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/util/install_util_unittest.cc ('k') | chrome/installer/util/logging_installer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/installer_state_unittest.cc
diff --git a/chrome/installer/util/installer_state_unittest.cc b/chrome/installer/util/installer_state_unittest.cc
index 2aa11025b4d21cd350d2241bd8a11f73e5333f4c..8e307af0e2d25a0231e3e28f70d703d19a7e2479 100644
--- a/chrome/installer/util/installer_state_unittest.cc
+++ b/chrome/installer/util/installer_state_unittest.cc
@@ -82,7 +82,7 @@ TEST_F(InstallerStateTest, WithProduct) {
machine_state.Initialize();
MockInstallerState installer_state;
installer_state.Initialize(cmd_line, prefs, machine_state);
- installer_state.set_target_path(test_dir_.path());
+ installer_state.set_target_path(test_dir_.GetPath());
EXPECT_EQ(1U, installer_state.products().size());
EXPECT_EQ(system_level, installer_state.system_install());
@@ -217,7 +217,7 @@ TEST_F(InstallerStateTest, IsFileInUse) {
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
base::FilePath temp_file;
- ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file));
+ ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.GetPath(), &temp_file));
EXPECT_FALSE(MockInstallerState::IsFileInUse(temp_file));
« no previous file with comments | « chrome/installer/util/install_util_unittest.cc ('k') | chrome/installer/util/logging_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698