| Index: components/sync/engine_impl/sync_scheduler_impl.h
|
| diff --git a/components/sync/engine_impl/sync_scheduler_impl.h b/components/sync/engine_impl/sync_scheduler_impl.h
|
| index 7c5e06f825e4c3648b236b0f860f7de02fb1bdd6..ae6fe1071814544a81d32238aae09783f2f6b808 100644
|
| --- a/components/sync/engine_impl/sync_scheduler_impl.h
|
| +++ b/components/sync/engine_impl/sync_scheduler_impl.h
|
| @@ -86,6 +86,11 @@ class SyncSchedulerImpl : public SyncScheduler, public base::NonThreadSafe {
|
| // Returns true if the client is currently in exponential backoff.
|
| bool IsBackingOff() const;
|
|
|
| + // Changes the default delay between nudge cycles. Model-type specific
|
| + // overrides will still apply. This is made public so that nudge cycles can be
|
| + // shortened in integration tests.
|
| + void SetDefaultNudgeDelay(base::TimeDelta delay_ms);
|
| +
|
| private:
|
| enum JobPriority {
|
| // Non-canary jobs respect exponential backoff.
|
| @@ -139,8 +144,6 @@ class SyncSchedulerImpl : public SyncScheduler, public base::NonThreadSafe {
|
|
|
| static const char* GetModeString(Mode mode);
|
|
|
| - void SetDefaultNudgeDelay(base::TimeDelta delay_ms);
|
| -
|
| // Invoke the syncer to perform a nudge job.
|
| void DoNudgeSyncCycleJob(JobPriority priority);
|
|
|
|
|