Chromium Code Reviews| Index: chrome/browser/sync_file_system/sync_task_manager.h |
| diff --git a/chrome/browser/sync_file_system/sync_task_manager.h b/chrome/browser/sync_file_system/sync_task_manager.h |
| index cfd243e9b10a2586957b4636f90adaef2a2587c7..3893fcf4f02a1316f191d8123f61bb84d0cc5b3e 100644 |
| --- a/chrome/browser/sync_file_system/sync_task_manager.h |
| +++ b/chrome/browser/sync_file_system/sync_task_manager.h |
| @@ -57,23 +57,29 @@ class SyncTaskManager |
| void Initialize(SyncStatusCode status); |
| // Schedules a task at PRIORITY_MED. |
| - void ScheduleTask(const Task& task, |
| + void ScheduleTask(const tracked_objects::Location& from_here, |
| + const Task& task, |
| const SyncStatusCallback& callback); |
| - void ScheduleSyncTask(scoped_ptr<SyncTask> task, |
| + void ScheduleSyncTask(const tracked_objects::Location& from_here, |
| + scoped_ptr<SyncTask> task, |
| const SyncStatusCallback& callback); |
| // Schedules a task at the given priority. |
| - void ScheduleTaskAtPriority(const Task& task, |
| + void ScheduleTaskAtPriority(const tracked_objects::Location& from_here, |
| + const Task& task, |
| Priority priority, |
| const SyncStatusCallback& callback); |
| - void ScheduleSyncTaskAtPriority(scoped_ptr<SyncTask> task, |
| + void ScheduleSyncTaskAtPriority(const tracked_objects::Location& from_here, |
| + scoped_ptr<SyncTask> task, |
| Priority priority, |
| const SyncStatusCallback& callback); |
| // Runs the posted task only when we're idle. Returns true if tha task is |
| // scheduled. |
| - bool ScheduleTaskIfIdle(const Task& task, const SyncStatusCallback& callback); |
| - bool ScheduleSyncTaskIfIdle(scoped_ptr<SyncTask> task, |
| + bool ScheduleTaskIfIdle(const tracked_objects::Location& from_here, |
| + const Task& task, const SyncStatusCallback& callback); |
|
nhiroki
2014/03/07 07:12:03
style-nit: can you add a line-break between "task"
tzik
2014/03/07 09:38:11
Done.
|
| + bool ScheduleSyncTaskIfIdle(const tracked_objects::Location& from_here, |
| + scoped_ptr<SyncTask> task, |
| const SyncStatusCallback& callback); |
| void NotifyTaskDone(scoped_ptr<TaskToken> token, |