| 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 b4cfc0dc73924df6c1f7bc30931bd14144c31229..c3f571a07b3134a386ba9ea555273fbb638b9526 100644
|
| --- a/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
|
| @@ -405,9 +405,8 @@ TEST_F(DriveSchedulerTest, DownloadFileCellularDisabled) {
|
| kOutputFilePath,
|
| kContentUrl,
|
| DriveClientContext(BACKGROUND),
|
| - base::Bind(&google_apis::test_util::CopyResultsFromDownloadActionCallback,
|
| - &download_error,
|
| - &output_file_path),
|
| + google_apis::test_util::CreateCopyResultCallback(
|
| + &download_error, &output_file_path),
|
| google_apis::GetContentCallback());
|
| // Metadata should still work
|
| google_apis::GDataErrorCode metadata_error = google_apis::GDATA_OTHER_ERROR;
|
| @@ -460,9 +459,8 @@ TEST_F(DriveSchedulerTest, DownloadFileWimaxDisabled) {
|
| kOutputFilePath,
|
| kContentUrl,
|
| DriveClientContext(BACKGROUND),
|
| - base::Bind(&google_apis::test_util::CopyResultsFromDownloadActionCallback,
|
| - &download_error,
|
| - &output_file_path),
|
| + google_apis::test_util::CreateCopyResultCallback(
|
| + &download_error, &output_file_path),
|
| google_apis::GetContentCallback());
|
| // Metadata should still work
|
| google_apis::GDataErrorCode metadata_error = google_apis::GDATA_OTHER_ERROR;
|
| @@ -515,9 +513,8 @@ TEST_F(DriveSchedulerTest, DownloadFileCellularEnabled) {
|
| kOutputFilePath,
|
| kContentUrl,
|
| DriveClientContext(BACKGROUND),
|
| - base::Bind(&google_apis::test_util::CopyResultsFromDownloadActionCallback,
|
| - &download_error,
|
| - &output_file_path),
|
| + google_apis::test_util::CreateCopyResultCallback(
|
| + &download_error, &output_file_path),
|
| google_apis::GetContentCallback());
|
| // Metadata should still work
|
| google_apis::GDataErrorCode metadata_error = google_apis::GDATA_OTHER_ERROR;
|
| @@ -562,9 +559,8 @@ TEST_F(DriveSchedulerTest, DownloadFileWimaxEnabled) {
|
| kOutputFilePath,
|
| kContentUrl,
|
| DriveClientContext(BACKGROUND),
|
| - base::Bind(&google_apis::test_util::CopyResultsFromDownloadActionCallback,
|
| - &download_error,
|
| - &output_file_path),
|
| + google_apis::test_util::CreateCopyResultCallback(
|
| + &download_error, &output_file_path),
|
| google_apis::GetContentCallback());
|
| // Metadata should still work
|
| google_apis::GDataErrorCode metadata_error = google_apis::GDATA_OTHER_ERROR;
|
|
|