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

Unified Diff: chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc

Issue 329953002: [SyncFS] Calculate MD5 on FILE thread instead of Worker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
index e3b7dbc9b4c36162aadf1c45cedb2ab861fad48c..602c523973dae708b25f4eeb2945cf0a471de533 100644
--- a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
+++ b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
@@ -402,7 +402,7 @@ void LocalToRemoteSyncer::UploadExistingFile(
base::Bind(&LocalToRemoteSyncer::DidGetMD5ForUpload,
weak_ptr_factory_.GetWeakPtr(), callback);
- sync_context_->GetWorkerTaskRunner()->PostTask(
+ sync_context_->GetFileTaskRunner()->PostTask(
FROM_HERE,
CreateComposedFunction(
base::Bind(&drive::util::GetMd5Digest, local_path_),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698