[MessageLoopCurrent] Move QuitWhenIdleClosure to RunLoop

I was about to migrate MessageLoop::QuitWhenIdleClosure() to
MessageLoopCurrent::QuitWhenIdleClosure() but figured this should really
just be alongside similar deprecated methods moved to RunLoop last year.

This CL is a contract that I'll TBR mass migrate calls to
MessageLoop::QuitWhenIdleClosure() to it after this lands
(and fix includes where relevant).

R=danakj@chromium.org, kylechar@chromium.org

Bug: 825327
Change-Id: I3a544a3735427dfac5e57c4e266be9901fbb67ec
Reviewed-on: https://chromium-review.googlesource.com/1055808
Reviewed-by: kylechar <kylechar@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558956}

CrOS-Libchrome-Original-Commit: 5bc8841a12af7169cfa68997bcf2793e5dffda3a
2 files changed
tree: c9554c93f7e17414f76eb0bb0ac2c9529f0c9ea0
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/