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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_task_token.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/sync_task_token.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
index 624cefc32fbbb6d74c99ce75d899fd2235d98c11..60c5528d2393e4d449ff338b676ec63a509a86e8 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
@@ -138,11 +138,12 @@ scoped_ptr<TaskLogger::TaskLog> SyncTaskToken::PassTaskLog() {
return task_log_.Pass();
}
-SyncTaskToken::SyncTaskToken(const base::WeakPtr<SyncTaskManager>& manager,
- base::SequencedTaskRunner* task_runner,
- int64 token_id,
- scoped_ptr<BlockingFactor> blocking_factor,
- const SyncStatusCallback& callback)
+SyncTaskToken::SyncTaskToken(
+ const base::WeakPtr<SyncTaskManager>& manager,
+ const scoped_refptr<base::SequencedTaskRunner>& task_runner,
+ int64 token_id,
+ scoped_ptr<BlockingFactor> blocking_factor,
+ const SyncStatusCallback& callback)
: manager_(manager),
task_runner_(task_runner),
token_id_(token_id),

Powered by Google App Engine
This is Rietveld 408576698