Index: chrome/browser/chromeos/drive/file_system/update_operation_unittest.cc |
diff --git a/chrome/browser/chromeos/drive/file_system/update_operation_unittest.cc b/chrome/browser/chromeos/drive/file_system/update_operation_unittest.cc |
index b9aa7295f80f9ceddde4f0f74c7f7ab60fbb7aaa..7ce3ebcb8a43e526863d488d8705578601460497 100644 |
--- a/chrome/browser/chromeos/drive/file_system/update_operation_unittest.cc |
+++ b/chrome/browser/chromeos/drive/file_system/update_operation_unittest.cc |
@@ -57,7 +57,7 @@ TEST_F(UpdateOperationTest, UpdateFileByResourceId_PersistentFile) { |
// Add the dirty bit. |
error = FILE_ERROR_FAILED; |
cache()->MarkDirtyOnUIThread( |
- kResourceId, kMd5, |
+ kResourceId, |
google_apis::test_util::CreateCopyResultCallback(&error)); |
test_util::RunBlockingPoolTask(); |
EXPECT_EQ(FILE_ERROR_OK, error); |
@@ -132,7 +132,7 @@ TEST_F(UpdateOperationTest, UpdateFileByResourceId_Md5) { |
// Add the dirty bit. |
error = FILE_ERROR_FAILED; |
cache()->MarkDirtyOnUIThread( |
- kResourceId, kMd5, |
+ kResourceId, |
google_apis::test_util::CreateCopyResultCallback(&error)); |
test_util::RunBlockingPoolTask(); |
EXPECT_EQ(FILE_ERROR_OK, error); |
@@ -178,7 +178,7 @@ TEST_F(UpdateOperationTest, UpdateFileByResourceId_Md5) { |
// Again mark the cache file dirty. |
error = FILE_ERROR_FAILED; |
cache()->MarkDirtyOnUIThread( |
- kResourceId, server_entry->file_md5(), |
+ kResourceId, |
google_apis::test_util::CreateCopyResultCallback(&error)); |
test_util::RunBlockingPoolTask(); |
EXPECT_EQ(FILE_ERROR_OK, error); |