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

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

Issue 98063002: Pass blocking pool runner to CreateTemporaryFile in SyncFS v2 drive_backend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc ('k') | 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/remote_to_local_syncer.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
index 6e614e61f97a61dfe2970f79f179b438cf61be89..8a2eab761cbfb9e13607071807798e06d0213bf3 100644
--- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
+++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
@@ -578,7 +578,8 @@ void RemoteToLocalSyncer::DeleteLocalFile(const SyncStatusCallback& callback) {
void RemoteToLocalSyncer::DownloadFile(const SyncStatusCallback& callback) {
base::PostTaskAndReplyWithResult(
sync_context_->GetBlockingTaskRunner(), FROM_HERE,
- base::Bind(&sync_file_system::drive_backend::CreateTemporaryFile),
+ base::Bind(&sync_file_system::drive_backend::CreateTemporaryFile,
+ make_scoped_refptr(sync_context_->GetBlockingTaskRunner())),
base::Bind(&RemoteToLocalSyncer::DidCreateTemporaryFileForDownload,
weak_ptr_factory_.GetWeakPtr(), callback));
}
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698