-
tzik authored
This CL removes base::internal::CopyMode and base::internal::RepeatMode, and splits base::Callback into base::OnceCallback and base::RepeatingCallback. These enums are introduced to reduces duplicated implementations of variants of base::Callback, and for cleaner conversion policy between them. However, there are only two variants for now, and no plan to increase it to more than three. As these parameters makes crash logs and stack traces less readable, it's nice to have individual classes to these Callback variants. Bug: Change-Id: I1f34a882204b92f5018720645b4d04dee194615e Reviewed-on: https://chromium-review.googlesource.com/636726 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#497826}
d4bb5b7d