[go: nahoru, domu]

mash: remove the LockStateControllerDelegate.

This removes the LockStateControllerDelegate and mojoifys/renames it
into the ShutdownClient, which is exported by chrome.

While in the long term, we'll want to move the code that's currently in
ShutdownClient into ash (and either use CrosSettings in ash or send
messages to a dedicated CrosSettings service), the chromeos device
settings code is sufficiently intertangled with the browser process that
it isn't happening anytime soon. (See crbug.com/446937)

BUG=628792
TEST=covered by converted ash_unittests; manually tested the mojo call in non-mash ash.

Review-Url: https://codereview.chromium.org/2471643002
Cr-Commit-Position: refs/heads/master@{#429471}
25 files changed