| Index: chrome/browser/chromeos/drive/download_handler_unittest.cc
|
| diff --git a/chrome/browser/chromeos/drive/download_handler_unittest.cc b/chrome/browser/chromeos/drive/download_handler_unittest.cc
|
| index 07897789db04dc6f4c2898a44c6d7cac3cd2b3cf..8fdaef79825430e64763dc2d07309c2dc278a468 100644
|
| --- a/chrome/browser/chromeos/drive/download_handler_unittest.cc
|
| +++ b/chrome/browser/chromeos/drive/download_handler_unittest.cc
|
| @@ -99,7 +99,7 @@ class DownloadHandlerTest : public testing::Test {
|
| .WillRepeatedly(testing::Return(content::DownloadItem::IN_PROGRESS));
|
|
|
| download_handler_.reset(new DownloadHandler(&test_file_system_));
|
| - download_handler_->Initialize(download_manager_.get(), temp_dir_.path());
|
| + download_handler_->Initialize(download_manager_.get(), temp_dir_.GetPath());
|
| download_handler_->SetFreeDiskSpaceDelayForTesting(
|
| base::TimeDelta::FromMilliseconds(0));
|
| }
|
| @@ -149,7 +149,7 @@ TEST_F(DownloadHandlerTest, SubstituteDriveDownloadPath) {
|
| content::RunAllBlockingPoolTasksUntilIdle();
|
|
|
| // Check the result.
|
| - EXPECT_TRUE(temp_dir_.path().IsParent(substituted_path));
|
| + EXPECT_TRUE(temp_dir_.GetPath().IsParent(substituted_path));
|
| ASSERT_TRUE(download_handler_->IsDriveDownload(&download_item_));
|
| EXPECT_EQ(drive_path, download_handler_->GetTargetPath(&download_item_));
|
| }
|
| @@ -190,7 +190,7 @@ TEST_F(DownloadHandlerTest, SubstituteDriveDownloadPathForSavePackage) {
|
| content::RunAllBlockingPoolTasksUntilIdle();
|
|
|
| // Check the result of SubstituteDriveDownloadPath().
|
| - EXPECT_TRUE(temp_dir_.path().IsParent(substituted_path));
|
| + EXPECT_TRUE(temp_dir_.GetPath().IsParent(substituted_path));
|
|
|
| // |download_item_| is not a drive download yet.
|
| EXPECT_FALSE(download_handler_->IsDriveDownload(&download_item_));
|
|
|