Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Issue 2340683003: dbus: Mock MockObjectProxy::SetNameOwnerChangedCallback(). (Closed)

Created:
4 years, 3 months ago by Daniel Erat
Modified:
4 years, 3 months ago
Reviewers:
James Cook, hashimoto
CC:
chromium-reviews, oshima+watch_chromium.org, Chirantan Ekbote, James Cook
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/0ef935c2ea78249e96fb76fbc3bb91a79ab32afb Cr-Commit-Position: refs/heads/master@{#418864}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M chromeos/dbus/power_manager_client_unittest.cc View 3 chunks +8 lines, -1 line 0 comments Download
M dbus/mock_object_proxy.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Daniel Erat
4 years, 3 months ago (2016-09-14 22:46:15 UTC) #2
Daniel Erat
(this change depends on https://codereview.chromium.org/2345593002/)
4 years, 3 months ago (2016-09-14 22:46:47 UTC) #3
hashimoto
This lgtm. BTW PowerManagerClient has a lot of variables to remember the current state. This ...
4 years, 3 months ago (2016-09-15 06:12:05 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2340683003/1
4 years, 3 months ago (2016-09-15 13:49:22 UTC) #6
Daniel Erat
On 2016/09/15 06:12:05, hashimoto wrote: > This lgtm. > > BTW PowerManagerClient has a lot ...
4 years, 3 months ago (2016-09-15 14:02:20 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-15 14:32:55 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/0ef935c2ea78249e96fb76fbc3bb91a79ab32afb Cr-Commit-Position: refs/heads/master@{#418864}
4 years, 3 months ago (2016-09-15 14:34:48 UTC) #12
James Cook
4 years, 3 months ago (2016-09-15 16:10:32 UTC) #14
Message was sent while issue was closed.
Thanks for the heads-up.

Powered by Google App Engine
This is Rietveld 408576698