Migrating base::Callback to base::OnceCallback.
This is a follow-up on a comment in crrev.com/c/2463051. In nss_context.cc we make GetNSSCertDatabaseForProfile take OnceCallback instead of RepeatingCallback. This is possible, because the callback will be used only once in GetCertDBOnIOThread. We then make all callers use base::BindOnce. BUG=764795 TESTED=build Change-Id: I9120f3c4d0ff70be2dc6c146295a40cc4db17bb5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2484069Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Matt Mueller <mattm@chromium.org> Reviewed-by:
Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Carlos IL <carlosil@chromium.org> Reviewed-by:
Hidehiko Abe <hidehiko@chromium.org> Commit-Queue: Tomasz Tylenda <ttylenda@chromium.org> Cr-Commit-Position: refs/heads/master@{#819690}
Showing
Please register or sign in to comment