Lines Matching refs:NUDGE
176 << wait_interval_->mode << "Wait interval had nudge : "
183 DCHECK(job.purpose == SyncSessionJob::NUDGE ||
189 if (job.purpose == SyncSessionJob::NUDGE) {
193 // If we already had one nudge then just drop this nudge. We will retry
210 if (job.purpose == SyncSessionJob::NUDGE)
234 return job.purpose == SyncSessionJob::NUDGE ? SAVE : DROP;
241 << " Creating a pending nudge job";
246 SyncSessionJob new_job(SyncSessionJob::NUDGE, job.scheduled_start,
253 VLOG(1) << "SyncerThread(" << this << ")" << " Coalescing a pending nudge";
257 // Unfortunately the nudge location cannot be modified. So it stores the
268 DCHECK(job.purpose == SyncSessionJob::NUDGE || job.purpose ==
277 if (job.purpose == SyncSessionJob::NUDGE) {
278 VLOG(1) << "SyncerThread(" << this << ")" << " Saving a nudge job";
320 VLOG(1) << "SyncerThread(" << this << ")" << " Nudge scheduled";
338 VLOG(1) << "SyncerThread(" << this << ")" << " Nudge scheduled with payloads";
361 VLOG(1) << "SyncerThread(" << this << ")" << " Running Schedule nudge impl";
362 // Note we currently nudge for all types regardless of the ones incurring
363 // the nudge. Doing different would throw off some syncer commands like
368 SyncSessionJob job(SyncSessionJob::NUDGE, TimeTicks::Now() + delay,
378 VLOG(1) << "SyncerThread(" << this << ")" << " Dropping the nudge because"
383 VLOG(1) << "SyncerThread(" << this << ")" << " Coalescing pending nudge";
387 VLOG(1) << "SyncerThread(" << this << ")" << " Dropping a nudge because"
392 << " Rescheduling pending nudge";
401 ScheduleSyncSessionJob(delay, SyncSessionJob::NUDGE, job.session.release(),
491 if (purpose == SyncSessionJob::NUDGE) {
517 case SyncSessionJob::NUDGE:
529 LOG(WARNING) << "Dropping nudge at DoSyncSessionJob, source = "
534 if (job.purpose == SyncSessionJob::NUDGE) {
536 return; // Another nudge must have been scheduled in in the meantime.
644 << " A nudge during backoff failed";
645 // We weren't continuing but we're in backoff; must have been a nudge.
646 DCHECK_EQ(SyncSessionJob::NUDGE, old_job.purpose);
660 // For all other purposes(nudge and poll) we schedule a retry nudge.
770 VLOG(1) << "SyncerThread(" << this << ")" << " Found pending nudge job";
780 // pending nudge. Update it by coalescing to the latest.
782 // The pending nudge would be cleared in the DoSyncSessionJob function.