Migrate MessageLoop::current() to MessageLoopCurrent in /base/test/android/java_handler_thread_helpers.cc

These changes were scripted as part of the effort to restrict exposure of the
raw MessageLoop*.

Note that many static methods exposed on MessageLoopCurrent are also deprecated
so it is very well possible that this is migrating to an already deprecated
method.

The goal of this pass is to reduce usage of MessageLoop::current() (and
ultimately make it impossible to obtain the MessageLoop* statically).

As such I will not edit this CL unless the script did something logically wrong.
I defer to owners to fix highlighted usage of already deprecated APIs.

Possible script screw ups / things to look out for in this review:
 - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
   one (I will go over that in a separate pass).

Includes should have been stripped if that was the last usage of message_loop.h
in that file.

Please CQ if LGTY

This CL was uploaded by git cl split.

R=torne@chromium.org

Bug: 825327
Change-Id: I2fc1aeccf94e9db6175d8630eeec5a3a4f4345ca
Reviewed-on: https://chromium-review.googlesource.com/1024477
Commit-Queue: Gabriel Charette <gab@chromium.org>
Commit-Queue: Richard Coles <torne@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552800}

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