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

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

Issue 515093002: FileAPI/sync file system cleanups for scoped_refptr operator T* cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/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 0518b73fce491f2269d56ffa15344232907a50bf..90d4d1effa7f776214a83f9dc32cdf1bbe67657c 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
@@ -79,7 +79,8 @@ scoped_ptr<FileMetadata> GetFileMetadata(MetadataDatabase* database,
// Creates a temporary file in |dir_path|. This must be called on an
// IO-allowed task runner, and the runner must be given as |file_task_runner|.
-storage::ScopedFile CreateTemporaryFile(base::TaskRunner* file_task_runner) {
+storage::ScopedFile CreateTemporaryFile(
+ const scoped_refptr<base::TaskRunner>& file_task_runner) {
base::FilePath temp_file_path;
if (!base::CreateTemporaryFile(&temp_file_path))
return storage::ScopedFile();

Powered by Google App Engine
This is Rietveld 408576698