dbus: Mock MockObjectProxy::SetNameOwnerChangedCallback().
ObjectProxy's real method calls Bus::AssertOnOriginThread()
and causes in some log spam (but surprisingly doesn't
crash). Override the method in MockObjectProxy to prevent
this.
Also update chromeos::PowerManagerClientTest to expect this
call.
BUG=646912
Review-Url: https://codereview.chromium.org/2340683003
Cr-Commit-Position: refs/heads/master@{#418864}
CrOS-Libchrome-Original-Commit: 0ef935c2ea78249e96fb76fbc3bb91a79ab32afb
1 file changed