The callbacks passed to ChildAccountService::AddChildStatusReceivedCallback are only ever called once, so the argument should be a OnceClosure, not a Closure.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5233ac75c29763686f7cb28c21db2007298e3da7 commit 5233ac75c29763686f7cb28c21db2007298e3da7 Author: Sky Malice <skym@google.com> Date: Fri Jun 29 22:53:37 2018 Migrate AddChildStatusReceivedCallback to take OnceClosure. Bug: 692591 Change-Id: I030ae3cedeb21cf2a3b006df0da018c9286fa862 Reviewed-on: https://chromium-review.googlesource.com/1117475 Reviewed-by: Jacob Dufault <jdufault@chromium.org> Reviewed-by: Marc Treib <treib@chromium.org> Commit-Queue: Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/master@{#571691} [modify] https://crrev.com/5233ac75c29763686f7cb28c21db2007298e3da7/chrome/browser/chromeos/login/session/user_session_manager.cc [modify] https://crrev.com/5233ac75c29763686f7cb28c21db2007298e3da7/chrome/browser/supervised_user/child_accounts/child_account_service.cc [modify] https://crrev.com/5233ac75c29763686f7cb28c21db2007298e3da7/chrome/browser/supervised_user/child_accounts/child_account_service.h [modify] https://crrev.com/5233ac75c29763686f7cb28c21db2007298e3da7/chrome/browser/supervised_user/child_accounts/child_account_service_android.cc
Comment 1 Deleted