[Background Sync] Add CancelDelayedProcessing()
Before this change, we special case base::TimeDelta::Max() to mean we'd like to cancel delayed processing of Background Sync registrations. This introduces a CancelDelayedProcessing() flow to make code more readable and get rid of this special case. Bug: 996166 Change-Id: Iee5f78a8e8f9e9d2abd8cc1e3e78778807829011 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906408 Commit-Queue: Mugdha Lakhani <nator@chromium.org> Reviewed-by:Rayan Kanso <rayankans@chromium.org> Cr-Commit-Position: refs/heads/master@{#715282}
Showing
Please register or sign in to comment