Refactor DefaultWebClientWorker methods to take a callback
This moves DefaultWebClientWorkerCallback out of the constructor for DefaultWebClientWorker and changes it to be a parameter for the `Start(CheckIs|SetAs)Default` methods. This allows it to be a base::OnceCallback instead of a base::RepeatingCallback. Bug: 1106803 Change-Id: I47887ce0ca1db3b469fd1edf86f4b824c45685eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315084Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Will Cassella <cassew@google.com> Cr-Commit-Position: refs/heads/master@{#791335}
Showing
Please register or sign in to comment