Index: sync/engine/sync_scheduler_impl.h |
diff --git a/sync/engine/sync_scheduler_impl.h b/sync/engine/sync_scheduler_impl.h |
index 8f03e8945d811adcea1cd99a3f64b49facb98cbe..663c2ed8e1b7ec078e99d63674f492eb43a68403 100644 |
--- a/sync/engine/sync_scheduler_impl.h |
+++ b/sync/engine/sync_scheduler_impl.h |
@@ -171,7 +171,7 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl : |
void ScheduleSyncSessionJob(scoped_ptr<SyncSessionJob> job); |
// Invoke the Syncer to perform a sync. |
- bool DoSyncSessionJob(scoped_ptr<SyncSessionJob> job); |
+ bool DoSyncSessionJob(scoped_ptr<SyncSessionJob> job, bool is_canary); |
// Called after the Syncer has performed the sync represented by |job|, to |
// reset our state. |exited_prematurely| is true if the Syncer did not |
@@ -195,7 +195,7 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl : |
void HandleContinuationError(scoped_ptr<SyncSessionJob> old_job); |
// Decide whether we should CONTINUE, SAVE or DROP the job. |
- JobProcessDecision DecideOnJob(const SyncSessionJob& job); |
+ JobProcessDecision DecideOnJob(const SyncSessionJob& job, bool is_canary); |
// If DecideOnJob decides that |job| should be SAVEd, this function will |
// carry out the task of actually "saving" (or coalescing) the job. |
@@ -203,7 +203,8 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl : |
// Decide on whether to CONTINUE, SAVE or DROP the job when we are in |
// backoff mode. |
- JobProcessDecision DecideWhileInWaitInterval(const SyncSessionJob& job); |
+ JobProcessDecision DecideWhileInWaitInterval(const SyncSessionJob& job, |
+ bool is_canary); |
// 'Impl' here refers to real implementation of public functions, running on |
// |thread_|. |