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

Issue 1297903002: dbus: Suppress "Rejecting a message from a wrong sender" error from ObjectManager (Closed)

Created:
5 years, 4 months ago by satorux1
Modified:
5 years, 4 months ago
Reviewers:
hashimoto
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

dbus: Suppress "Rejecting a message from a wrong sender" error from ObjectManager The error message was a false alarm that was polluting the log file. ObjectManager::HandleMessage() is called for *every instance of ObjectManager* whenever a message is delivered. It's the right thing for an ObjectManager instance to ignore a signal that the instance is not interested in. Note that the service owner name change is handled via ObjectManager::NameOwnerChanged(), that's set up in the ObjectManager's constructor hence ObjectManager can handle name owner changes. BUG=507206 TEST=enable/disable Bluetooth and confirm that the error message is no longer emitted in the log file. Committed: https://crrev.com/9b780e6bfc08404de90339c76ece4457cb1734bc Cr-Commit-Position: refs/heads/master@{#343656}

Patch Set 1 #

Total comments: 2

Patch Set 2 : more comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M dbus/object_manager.cc View 1 3 chunks +13 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
satorux1
5 years, 4 months ago (2015-08-17 06:09:13 UTC) #2
hashimoto
https://codereview.chromium.org/1297903002/diff/1/dbus/object_manager.cc File dbus/object_manager.cc (right): https://codereview.chromium.org/1297903002/diff/1/dbus/object_manager.cc#newcode213 dbus/object_manager.cc:213: "type='signal', sender='%s', interface='%s', member='%s'", ObjectManager::HandleMessage looks like a dead ...
5 years, 4 months ago (2015-08-17 07:07:50 UTC) #3
satorux1
https://codereview.chromium.org/1297903002/diff/1/dbus/object_manager.cc File dbus/object_manager.cc (right): https://codereview.chromium.org/1297903002/diff/1/dbus/object_manager.cc#newcode213 dbus/object_manager.cc:213: "type='signal', sender='%s', interface='%s', member='%s'", On 2015/08/17 07:07:49, hashimoto wrote: ...
5 years, 4 months ago (2015-08-17 07:35:07 UTC) #4
satorux1
added more comments per offline discussion
5 years, 4 months ago (2015-08-17 08:23:15 UTC) #5
hashimoto
lgtm
5 years, 4 months ago (2015-08-17 08:24:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297903002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297903002/20001
5 years, 4 months ago (2015-08-17 08:25:41 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-17 09:44:42 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-17 09:45:23 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9b780e6bfc08404de90339c76ece4457cb1734bc
Cr-Commit-Position: refs/heads/master@{#343656}

Powered by Google App Engine
This is Rietveld 408576698