| Index: chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc
|
| diff --git a/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc b/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc
|
| index a706a37deb8152baa366b83907b2a258a7ac7ef0..043f5fc1609b12a94402cfaef904fbdb48928b4e 100644
|
| --- a/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc
|
| +++ b/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "chrome/browser/chromeos/drive/file_system/download_operation.h"
|
|
|
| -#include "base/callback_helpers.h"
|
| #include "base/file_util.h"
|
| #include "base/task_runner_util.h"
|
| #include "chrome/browser/chromeos/drive/fake_free_disk_space_getter.h"
|
| @@ -427,23 +426,12 @@ TEST_F(DownloadOperationTest, EnsureFileDownloadedByPath_DirtyCache) {
|
| base::Bind(&internal::FileCache::Store,
|
| base::Unretained(cache()),
|
| GetLocalId(file_in_root),
|
| - src_entry.file_specific_info().md5(),
|
| + std::string(),
|
| dirty_file,
|
| internal::FileCache::FILE_OPERATION_COPY),
|
| google_apis::test_util::CreateCopyResultCallback(&error));
|
| test_util::RunBlockingPoolTask();
|
| EXPECT_EQ(FILE_ERROR_OK, error);
|
| - scoped_ptr<base::ScopedClosureRunner> file_closer;
|
| - base::PostTaskAndReplyWithResult(
|
| - blocking_task_runner(),
|
| - FROM_HERE,
|
| - base::Bind(&internal::FileCache::OpenForWrite,
|
| - base::Unretained(cache()),
|
| - GetLocalId(file_in_root),
|
| - &file_closer),
|
| - google_apis::test_util::CreateCopyResultCallback(&error));
|
| - test_util::RunBlockingPoolTask();
|
| - EXPECT_EQ(FILE_ERROR_OK, error);
|
|
|
| // Record values passed to GetFileContentInitializedCallback().
|
| FileError init_error;
|
|
|