Cancel browse url check only if the check was sent.
It is not needed to cancel the check if the request is never sent. Also introduce a helper function to send the check to the database_manager. This helper function will be reused in another refactoring CL. Bug: 1050859 Change-Id: I64f1d721f77c60c93d0829dd0c0bf8c791b4f053 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067462Reviewed-by:Daniel Rubery <drubery@chromium.org> Commit-Queue: Xinghui Lu <xinghuilu@chromium.org> Cr-Commit-Position: refs/heads/master@{#743411}
Showing
Please register or sign in to comment