| Index: chrome/installer/util/self_cleaning_temp_dir_unittest.cc
|
| diff --git a/chrome/installer/util/self_cleaning_temp_dir_unittest.cc b/chrome/installer/util/self_cleaning_temp_dir_unittest.cc
|
| index 66125660d8f12136600e38c9624a87982f7b0ea5..b807fbff5a0061684aaefbea1be2e7335b5a9f62 100644
|
| --- a/chrome/installer/util/self_cleaning_temp_dir_unittest.cc
|
| +++ b/chrome/installer/util/self_cleaning_temp_dir_unittest.cc
|
| @@ -71,7 +71,8 @@ TEST_F(SelfCleaningTempDirTest, RemoveUnusedOnDelete) {
|
| EXPECT_TRUE(work_dir.CreateUniqueTempDir());
|
|
|
| // Make up some path under the temp dir.
|
| - base::FilePath parent_temp_dir(work_dir.path().Append(L"One").Append(L"Two"));
|
| + base::FilePath parent_temp_dir(
|
| + work_dir.GetPath().Append(L"One").Append(L"Two"));
|
| SelfCleaningTempDir temp_dir;
|
| EXPECT_TRUE(temp_dir.Initialize(parent_temp_dir, L"Three"));
|
| EXPECT_EQ(parent_temp_dir.Append(L"Three"), temp_dir.path());
|
| @@ -92,7 +93,8 @@ TEST_F(SelfCleaningTempDirTest, TwoClients) {
|
| EXPECT_TRUE(work_dir.CreateUniqueTempDir());
|
|
|
| // Make up some path under the temp dir.
|
| - base::FilePath parent_temp_dir(work_dir.path().Append(L"One").Append(L"Two"));
|
| + base::FilePath parent_temp_dir(
|
| + work_dir.GetPath().Append(L"One").Append(L"Two"));
|
| SelfCleaningTempDir temp_dir1;
|
| SelfCleaningTempDir temp_dir2;
|
| // First client is created.
|
| @@ -129,7 +131,8 @@ TEST_F(SelfCleaningTempDirTest, RemoveUnusedOnDestroy) {
|
| EXPECT_TRUE(work_dir.CreateUniqueTempDir());
|
|
|
| // Make up some path under the temp dir.
|
| - base::FilePath parent_temp_dir(work_dir.path().Append(L"One").Append(L"Two"));
|
| + base::FilePath parent_temp_dir(
|
| + work_dir.GetPath().Append(L"One").Append(L"Two"));
|
| {
|
| SelfCleaningTempDir temp_dir;
|
| EXPECT_TRUE(temp_dir.Initialize(parent_temp_dir, L"Three"));
|
| @@ -154,7 +157,8 @@ TEST_F(SelfCleaningTempDirTest, LeaveUsedOnDestroy) {
|
| EXPECT_TRUE(work_dir.CreateUniqueTempDir());
|
|
|
| // Make up some path under the temp dir.
|
| - base::FilePath parent_temp_dir(work_dir.path().Append(L"One").Append(L"Two"));
|
| + base::FilePath parent_temp_dir(
|
| + work_dir.GetPath().Append(L"One").Append(L"Two"));
|
| {
|
| SelfCleaningTempDir temp_dir;
|
| EXPECT_TRUE(temp_dir.Initialize(parent_temp_dir, L"Three"));
|
|
|