Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1229)

Unified Diff: chrome/browser/chromeos/drive/file_system/copy_operation.cc

Issue 15060002: drive: Rename FileCache methods in a blocking pool centric manner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove virtual Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/drive/file_system/copy_operation.cc
diff --git a/chrome/browser/chromeos/drive/file_system/copy_operation.cc b/chrome/browser/chromeos/drive/file_system/copy_operation.cc
index afc17630429a3cecc2851dfe9959be71f72e1661..74e5cb32418b683aaaf25f6bdf479a61ee46670c 100644
--- a/chrome/browser/chromeos/drive/file_system/copy_operation.cc
+++ b/chrome/browser/chromeos/drive/file_system/copy_operation.cc
@@ -204,11 +204,12 @@ void CopyOperation::ScheduleTransferRegularFileAfterGetEntryInfo(
return;
}
- cache_->StoreLocallyModified(entry->resource_id(),
- entry->file_specific_info().file_md5(),
- local_file_path,
- internal::FileCache::FILE_OPERATION_COPY,
- callback);
+ cache_->StoreLocallyModifiedOnUIThread(
+ entry->resource_id(),
+ entry->file_specific_info().file_md5(),
+ local_file_path,
+ internal::FileCache::FILE_OPERATION_COPY,
+ callback);
}
void CopyOperation::CopyHostedDocumentToDirectory(
« no previous file with comments | « chrome/browser/chromeos/drive/file_system.cc ('k') | chrome/browser/chromeos/drive/file_system/remove_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698