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 8f6e714861a7b952bdf5c712d6db682091d51f60..5148dfc3b64b4aeafb61064587d07138a12cab76 100644 |
--- a/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc |
+++ b/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc |
@@ -403,7 +403,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, |
@@ -411,6 +411,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; |