Skip to content
Snippets Groups Projects
Commit abfd66a9 authored by Wei-Luan Wang's avatar Wei-Luan Wang
Browse files

Migrate LeRandCallback to be base::OnceCallback

base::Bind and base::Callback are deprecated. Migrate the usages to
proper replacements.

The callback of LeRand is expected to be called for receiving the
resulting random number. It's called only once so it should be a
base::OnceCallback.

Bug: 272116782
Test: m .
Change-Id: I8dc78f54aae455f089bc29ee814c3e0c0635ba9e
parent be6d7ce6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment