commit | 0ef935c2ea78249e96fb76fbc3bb91a79ab32afb | [log] [tgz] |
---|---|---|
author | derat <derat@chromium.org> | Thu Sep 15 14:32:29 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Sep 15 14:34:38 2016 |
tree | 30bc097a5547b5945fdeed7bb6706c844f230ec0 | |
parent | a28851ca731cf926f1c7949e4c1293a059606958 [diff] |
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}