webauthn: a batch of caBLE Java cleanups.
I'm flushing my queue of niggles that I've noticed over time: 1. The |Callback| interface in |CableAuthenticator| is moot. It always calls |CableAuthenticatorUI|, which is in the same package. There's even an |mUi| member already. 2. In a couple of cases calls were moved to the |mTaskRunner| thread, but since the Mojo network interface only works on the UI thread, we know that's the UI thread now and thus the transition is moot. Replace them with asserts. 3. A number of methods were more public than needed. If not specified, Java defaults to package-private, which works for a lot of cases here. BUG=1002262 Change-Id: Ieee4ab7fc9c1f3ae339d661b2ed5ce6e1adb28ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2531178 Commit-Queue: Adam Langley <agl@chromium.org> Reviewed-by:Martin Kreichgauer <martinkr@google.com> Cr-Commit-Position: refs/heads/master@{#826980}
Showing
Please register or sign in to comment