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 1a57724e2196550ae840bbc89bb4cd114f547c4a..11e396d84e7e24746139efb7de8abfacfcccdc48 100644 |
--- a/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc |
+++ b/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc |
@@ -397,7 +397,7 @@ TEST_F(DownloadOperationTest, EnsureFileDownloadedByPath_DirtyCache) { |
// Store the file as a cache, marking it to be dirty. |
FileError error = FILE_ERROR_FAILED; |
- cache()->StoreLocallyModifiedOnUIThread( |
+ cache()->StoreOnUIThread( |
src_entry.resource_id(), |
src_entry.file_specific_info().md5(), |
dirty_file, |
@@ -405,6 +405,12 @@ TEST_F(DownloadOperationTest, EnsureFileDownloadedByPath_DirtyCache) { |
google_apis::test_util::CreateCopyResultCallback(&error)); |
google_apis::test_util::RunBlockingPoolTask(); |
EXPECT_EQ(FILE_ERROR_OK, error); |
+ cache()->MarkDirtyOnUIThread( |
+ src_entry.resource_id(), |
+ src_entry.file_specific_info().md5(), |
+ google_apis::test_util::CreateCopyResultCallback(&error)); |
+ google_apis::test_util::RunBlockingPoolTask(); |
+ EXPECT_EQ(FILE_ERROR_OK, error); |
// Record values passed to GetFileContentInitializedCallback(). |
FileError init_error; |