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

Issue 12491014: Support D-Bus Object Manager (Closed)

Created:
7 years, 9 months ago by keybuk
Modified:
7 years, 9 months ago
Reviewers:
deymo, youngki, satorux1
CC:
chromium-reviews
Visibility:
Public.

Description

Support D-Bus Object Manager Object Manager is a new standard D-Bus interface, closely related to the Properties interface. It is used by BlueZ 5.x thus the need to implement it now. The intended use is that Chrome D-Bus Client singletons set up a link to an object manager in their constructor and register themselves to handle their particular interface. BUG=220951 TEST=dbus_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190440

Patch Set 1 #

Patch Set 2 : Expand implementation; add mocks #

Patch Set 3 : Add unit tests #

Patch Set 4 : Removed todo notes from code #

Total comments: 33

Patch Set 5 : Review comments #

Total comments: 6

Patch Set 6 : Appease clang, the god of C++ nit-picking #

Patch Set 7 : Remove incorrect change in property_unittest #

Patch Set 8 : Insufficient entrails in my offering #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1314 lines, -54 lines) Patch
M chromeos/dbus/dbus_thread_manager.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M dbus/bus.h View 1 3 chunks +39 lines, -0 lines 0 comments Download
M dbus/bus.cc View 1 2 chunks +40 lines, -0 lines 0 comments Download
M dbus/dbus.gyp View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
M dbus/mock_bus.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
A dbus/mock_object_manager.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A dbus/mock_object_manager.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
A dbus/object_manager.h View 1 2 3 4 5 1 chunk +316 lines, -0 lines 0 comments Download
A dbus/object_manager.cc View 1 2 3 4 5 1 chunk +295 lines, -0 lines 0 comments Download
A dbus/object_manager_unittest.cc View 1 2 3 4 5 6 7 1 chunk +339 lines, -0 lines 0 comments Download
M dbus/property_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M dbus/test_service.h View 1 2 3 chunks +21 lines, -0 lines 0 comments Download
M dbus/test_service.cc View 1 2 7 chunks +192 lines, -53 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
keybuk
wip, posting in case I get hit by a bus on vacation ;)
7 years, 9 months ago (2013-03-12 22:13:57 UTC) #1
keybuk
This should now be complete. satorux: please review
7 years, 9 months ago (2013-03-20 01:31:52 UTC) #2
satorux1
Looks pretty neat. https://codereview.chromium.org/12491014/diff/9001/dbus/object_manager.cc File dbus/object_manager.cc (right): https://codereview.chromium.org/12491014/diff/9001/dbus/object_manager.cc#newcode195 dbus/object_manager.cc:195: it != interface_names.end(); ++it) matter of ...
7 years, 9 months ago (2013-03-21 05:45:42 UTC) #3
keybuk
ptal https://codereview.chromium.org/12491014/diff/9001/dbus/object_manager.cc File dbus/object_manager.cc (right): https://codereview.chromium.org/12491014/diff/9001/dbus/object_manager.cc#newcode195 dbus/object_manager.cc:195: it != interface_names.end(); ++it) On 2013/03/21 05:45:43, satorux1 ...
7 years, 9 months ago (2013-03-21 17:50:00 UTC) #4
satorux1
LGTM with nits https://codereview.chromium.org/12491014/diff/9001/dbus/object_manager.h File dbus/object_manager.h (right): https://codereview.chromium.org/12491014/diff/9001/dbus/object_manager.h#newcode178 dbus/object_manager.h:178: }; On 2013/03/21 17:50:00, keybuk wrote: ...
7 years, 9 months ago (2013-03-22 01:41:33 UTC) #5
satorux1
https://codereview.chromium.org/12491014/diff/15001/dbus/object_manager.h File dbus/object_manager.h (right): https://codereview.chromium.org/12491014/diff/15001/dbus/object_manager.h#newcode179 dbus/object_manager.h:179: const std::string& interface_name) { } Looking at the other ...
7 years, 9 months ago (2013-03-22 01:56:27 UTC) #6
keybuk
https://codereview.chromium.org/12491014/diff/15001/dbus/object_manager.h File dbus/object_manager.h (right): https://codereview.chromium.org/12491014/diff/15001/dbus/object_manager.h#newcode179 dbus/object_manager.h:179: const std::string& interface_name) { } On 2013/03/22 01:56:27, satorux1 ...
7 years, 9 months ago (2013-03-25 16:00:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keybuk@chromium.org/12491014/15001
7 years, 9 months ago (2013-03-25 16:00:48 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-25 16:16:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keybuk@chromium.org/12491014/22003
7 years, 9 months ago (2013-03-25 16:54:13 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-25 17:14:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keybuk@chromium.org/12491014/34001
7 years, 9 months ago (2013-03-25 17:14:59 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=111036
7 years, 9 months ago (2013-03-25 18:08:44 UTC) #13
keybuk
7 years, 9 months ago (2013-03-25 18:20:20 UTC) #14
Message was sent while issue was closed.
Committed patchset #8 manually as r190440 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698