| Index: chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc b/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
|
| index d99158809b261501123d6d42968193f0772e0e9e..becfcdc5329097ece4bf51388d450b5c43198bd3 100644
|
| --- a/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
|
| @@ -403,11 +403,12 @@ TEST_F(DriveSchedulerTest, DownloadFileCellularDisabled) {
|
| ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
|
|
| const GURL kContentUrl("https://file_content_url/");
|
| - const FilePath kOutputFilePath = temp_dir.path().AppendASCII("whatever.txt");
|
| + const base::FilePath kOutputFilePath =
|
| + temp_dir.path().AppendASCII("whatever.txt");
|
| google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
|
| - FilePath output_file_path;
|
| + base::FilePath output_file_path;
|
| scheduler_->DownloadFile(
|
| - FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
|
| + base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
|
| kOutputFilePath,
|
| kContentUrl,
|
| DriveClientContext(BACKGROUND),
|
| @@ -460,11 +461,12 @@ TEST_F(DriveSchedulerTest, DownloadFileWimaxDisabled) {
|
| ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
|
|
| const GURL kContentUrl("https://file_content_url/");
|
| - const FilePath kOutputFilePath = temp_dir.path().AppendASCII("whatever.txt");
|
| + const base::FilePath kOutputFilePath =
|
| + temp_dir.path().AppendASCII("whatever.txt");
|
| google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
|
| - FilePath output_file_path;
|
| + base::FilePath output_file_path;
|
| scheduler_->DownloadFile(
|
| - FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
|
| + base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
|
| kOutputFilePath,
|
| kContentUrl,
|
| DriveClientContext(BACKGROUND),
|
| @@ -517,11 +519,12 @@ TEST_F(DriveSchedulerTest, DownloadFileCellularEnabled) {
|
| ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
|
|
| const GURL kContentUrl("https://file_content_url/");
|
| - const FilePath kOutputFilePath = temp_dir.path().AppendASCII("whatever.txt");
|
| + const base::FilePath kOutputFilePath =
|
| + temp_dir.path().AppendASCII("whatever.txt");
|
| google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
|
| - FilePath output_file_path;
|
| + base::FilePath output_file_path;
|
| scheduler_->DownloadFile(
|
| - FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
|
| + base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
|
| kOutputFilePath,
|
| kContentUrl,
|
| DriveClientContext(BACKGROUND),
|
| @@ -566,11 +569,12 @@ TEST_F(DriveSchedulerTest, DownloadFileWimaxEnabled) {
|
| ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
|
|
| const GURL kContentUrl("https://file_content_url/");
|
| - const FilePath kOutputFilePath = temp_dir.path().AppendASCII("whatever.txt");
|
| + const base::FilePath kOutputFilePath =
|
| + temp_dir.path().AppendASCII("whatever.txt");
|
| google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
|
| - FilePath output_file_path;
|
| + base::FilePath output_file_path;
|
| scheduler_->DownloadFile(
|
| - FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
|
| + base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
|
| kOutputFilePath,
|
| kContentUrl,
|
| DriveClientContext(BACKGROUND),
|
|
|