Clean-up components/password_manager/sync
Presubmit checks flag some deprecated functions in the sync layer of password_manager component. This CL fixes those issues to unblock merging that layer with the core layer in a separate CL. The two most frequent fixes here are: * Replacing base::Closure with base::RepeatingClosure in cases when this seems intended. Note 1: Closure is currently an alias for RepeatingClosure, so this results in no change. Note 2: There was also one case when OnceClosure was more appropriate. This was handled in https://crrev.com/c/1252582. * arraysize -> base::size; this is the encouraged and a straightforward change Bug: 515108 Change-Id: I554cff1c1ef1965eab82f87bbd3fceb92c2ebd41 Reviewed-on: https://chromium-review.googlesource.com/1252745Reviewed-by:Christos Froussios <cfroussios@chromium.org> Commit-Queue: Vaclav Brozek <vabr@chromium.org> Cr-Commit-Position: refs/heads/master@{#595434}
Showing
Please register or sign in to comment