Index: chrome/browser/google_apis/fake_drive_service_unittest.cc |
diff --git a/chrome/browser/google_apis/fake_drive_service_unittest.cc b/chrome/browser/google_apis/fake_drive_service_unittest.cc |
index 372c99083feb466640fcf4f4aa599de6e61c5c24..9a12a227f70f2e80a063c00fa55354dec9cfb67f 100644 |
--- a/chrome/browser/google_apis/fake_drive_service_unittest.cc |
+++ b/chrome/browser/google_apis/fake_drive_service_unittest.cc |
@@ -585,9 +585,7 @@ TEST_F(FakeDriveServiceTest, DownloadFile_ExistingFile) { |
base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path |
kOutputFilePath, |
kContentUrl, |
- base::Bind(&test_util::CopyResultsFromDownloadActionCallback, |
- &error, |
- &output_file_path), |
+ test_util::CreateCopyResultCallback(&error, &output_file_path), |
GetContentCallback()); |
message_loop_.RunUntilIdle(); |
@@ -615,9 +613,7 @@ TEST_F(FakeDriveServiceTest, DownloadFile_NonexistingFile) { |
base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path |
kOutputFilePath, |
kContentUrl, |
- base::Bind(&test_util::CopyResultsFromDownloadActionCallback, |
- &error, |
- &output_file_path), |
+ test_util::CreateCopyResultCallback(&error, &output_file_path), |
GetContentCallback()); |
message_loop_.RunUntilIdle(); |
@@ -641,9 +637,7 @@ TEST_F(FakeDriveServiceTest, DownloadFile_Offline) { |
base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path |
kOutputFilePath, |
kContentUrl, |
- base::Bind(&test_util::CopyResultsFromDownloadActionCallback, |
- &error, |
- &output_file_path), |
+ test_util::CreateCopyResultCallback(&error, &output_file_path), |
GetContentCallback()); |
message_loop_.RunUntilIdle(); |