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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_backend_util.h

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 | « no previous file | chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
index e75481df9c949c8c1b5489d04e592e65932f80ad..0515a005a3344e17b42d0ddd890f0af2287c9309 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
+++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
@@ -43,8 +43,9 @@ scoped_ptr<FileMetadata> CreateDeletedFileMetadata(
const std::string& file_id);
// Creates a temporary file in |dir_path|. This must be called on an
-// IO-allowed thread.
-webkit_blob::ScopedFile CreateTemporaryFile();
+// IO-allowed task runner, and the runner must be given as |file_task_runner|.
+webkit_blob::ScopedFile CreateTemporaryFile(
+ base::TaskRunner* file_task_runner);
std::string FileKindToString(FileKind file_kind);
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698