Replace base::Bind() with base::BindOnce() / base::BindRepeating()

refactor: replace base::Bind() with base::BindOnce() / base::BindRepeating() (#27447)
Replace base::Bind() with base::BindOnce() / base::BindRepeating()949fd0-refactor-replace-base-bind-with-base-bindoncerefactorreplace base bind bindonce bindrepeating

Committed by miniak

commit message
refactor: replace base::Bind() with base::BindOnce() / base::BindRepeating() (#27447)

Editor assessment

The subject precisely captures an upstream-mandated migration: base::Bind() calls become base::BindOnce() or base::BindRepeating(). Because Chromium deprecated the unspecific form, the motivation is self-evident to the audience, and the subject's explicit enumeration of both replacements sets accurate expectations for the diff. The refactor type is right, no scope is needed for a cross-cutting conversion, and no body is required. No footers appear, and hygiene is clean, with the API names quoted consistently. A mechanical change communicated as completely as its well-understood nature demands.

Browse categories

More refactor examples · Back to search