Ensure MessagePumpForUI doesn't run tasks after being aborted.

The previous behaviour of MessagePumpForUI::Abort was to prevent
delayed tasks from running, but non-delayed tasks would continue to run.
This was almost certainly not intentional, and an aborted pump probably
shouldn't be running any tasks at all.

Bug: 780100
Change-Id: I56ad5b0b5d0621450fc62a35c4d927f4975ae6a4
Reviewed-on: https://chromium-review.googlesource.com/748979
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#513303}

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