0
Files
src/dbus
Ryo Hashimoto 0fc9c713ba dbus: Use more OnceCallbacks in ObjectProxy
Convert WaitForServiceToBeAvailableCallback and OnConnectedCallback to
OnceCallback.

Remove unused MockObjectProxy::WaitForServiceToBeAvailable().
Add MockObjectProxy::DoConnectToSignal() to workaround Gmock's
limitation around move-only arguments.
https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#mocking-methods-that-use-move-only-types

BUG=740015
TEST=try

Change-Id: Ide16b01e57eac20f231d729ad570547376a7874d
Reviewed-on: https://chromium-review.googlesource.com/656480
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Reviewed-by: Colin Blundell <blundell@chromium.org>
Commit-Queue: Ryo Hashimoto <hashimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501180}
2017-09-12 04:53:50 +00:00
..
2017-09-12 03:55:06 +00:00
2017-09-12 03:55:06 +00:00