• Home
  • Raw
  • Download

Lines Matching refs:purpose

33 SyncerThread::SyncSessionJob::SyncSessionJob(SyncSessionJobPurpose purpose,  in SyncSessionJob()  argument
36 const tracked_objects::Location& nudge_location) : purpose(purpose), in SyncSessionJob()
173 DCHECK_NE(job.purpose, SyncSessionJob::CLEAR_USER_DATA); in DecideWhileInWaitInterval()
180 if (job.purpose == SyncSessionJob::POLL) in DecideWhileInWaitInterval()
183 DCHECK(job.purpose == SyncSessionJob::NUDGE || in DecideWhileInWaitInterval()
184 job.purpose == SyncSessionJob::CONFIGURATION); in DecideWhileInWaitInterval()
189 if (job.purpose == SyncSessionJob::NUDGE) { in DecideWhileInWaitInterval()
203 if (job.purpose == SyncSessionJob::CLEAR_USER_DATA) in DecideOnJob()
210 if (job.purpose == SyncSessionJob::NUDGE) in DecideOnJob()
212 else if (job.purpose == SyncSessionJob::CONFIGURATION) in DecideOnJob()
220 DCHECK_NE(job.purpose, SyncSessionJob::CONFIGURATION); in DecideOnJob()
234 return job.purpose == SyncSessionJob::NUDGE ? SAVE : DROP; in DecideOnJob()
238 DCHECK(job.purpose != SyncSessionJob::CONFIGURATION); in InitOrCoalescePendingJob()
264 << decision << " Job purpose " << job.purpose << "mode " << mode_; in ShouldRunJob()
268 DCHECK(job.purpose == SyncSessionJob::NUDGE || job.purpose == in ShouldRunJob()
276 DCHECK(job.purpose != SyncSessionJob::CLEAR_USER_DATA); in SaveJob()
277 if (job.purpose == SyncSessionJob::NUDGE) { in SaveJob()
280 } else if (job.purpose == SyncSessionJob::CONFIGURATION){ in SaveJob()
288 SyncSessionJob new_job(job.purpose, TimeTicks::Now(), in SaveJob()
484 SyncSessionJob::SyncSessionJobPurpose purpose, in ScheduleSyncSessionJob() argument
489 SyncSessionJob job(purpose, TimeTicks::Now() + delay, in ScheduleSyncSessionJob()
491 if (purpose == SyncSessionJob::NUDGE) { in ScheduleSyncSessionJob()
499 << job.purpose; in ScheduleSyncSessionJob()
506 SyncSessionJob::SyncSessionJobPurpose purpose, in SetSyncerStepsForPurpose() argument
509 switch (purpose) { in SetSyncerStepsForPurpose()
534 if (job.purpose == SyncSessionJob::NUDGE) { in DoSyncSessionJob()
540 << job.purpose; in DoSyncSessionJob()
544 SetSyncerStepsForPurpose(job.purpose, &begin, &end); in DoSyncSessionJob()
562 if (old_job.purpose == SyncSessionJob::CONFIGURATION) { in UpdateCarryoverSessionState()
646 DCHECK_EQ(SyncSessionJob::NUDGE, old_job.purpose); in ScheduleNextSync()
655 if (old_job.purpose == SyncSessionJob::CONFIGURATION) { in ScheduleNextSync()
678 if (old_job && old_job->purpose != SyncSessionJob::POLL && !rate_changed) in AdjustPolling()
704 << old_job.purpose; in HandleConsecutiveContinuationError()
712 if (old_job.purpose == SyncSessionJob::CONFIGURATION) { in HandleConsecutiveContinuationError()
713 SyncSessionJob job(old_job.purpose, TimeTicks::Now() + length, in HandleConsecutiveContinuationError()