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

Issue 7491029: Implement Bus and ObjectProxy classes for our D-Bus library. (Closed)

Created:
9 years, 5 months ago by satorux1
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Implement Bus and ObjectProxy classes for our D-Bus library. ObjectProxy is used to access remote objects. ExportedObject is used to export objects to other D-Bus BUG=90036 TEST=run unit tests. The code is not yet used in Chrome. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97204

Patch Set 1 #

Patch Set 2 : today's version #

Patch Set 3 : minor cleanup #

Patch Set 4 : work-in-progress #

Total comments: 25

Patch Set 5 : today's version #

Patch Set 6 : forgot to include one file. #

Patch Set 7 : aug 3 version #

Patch Set 8 : aug 4 #

Patch Set 9 : for backup #

Patch Set 10 : aug 5 version #

Patch Set 11 : minor fixes #

Patch Set 12 : add more comments #

Patch Set 13 : minor cleanup #

Patch Set 14 : more cleanup #

Patch Set 15 : more minor cleanup #

Patch Set 16 : add comments #

Patch Set 17 : more comment fixing #

Patch Set 18 : comments updated #

Total comments: 26

Patch Set 19 : minor change #

Total comments: 15

Patch Set 20 : address comments #

Patch Set 21 : do not delete resposne in callback #

Patch Set 22 : Fix wrong comments #

Total comments: 20

Patch Set 23 : Address comments #

Patch Set 24 : address comments #

Patch Set 25 : fix clang build #

Patch Set 26 : fix clang build finally #

Patch Set 27 : another clang challenge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2211 lines, -0 lines) Patch
A dbus/bus.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +367 lines, -0 lines 0 comments Download
A dbus/bus.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +613 lines, -0 lines 0 comments Download
M dbus/dbus.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +11 lines, -0 lines 0 comments Download
A dbus/end_to_end_async_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +192 lines, -0 lines 0 comments Download
A dbus/end_to_end_sync_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +104 lines, -0 lines 0 comments Download
A dbus/exported_object.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +144 lines, -0 lines 0 comments Download
A dbus/exported_object.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +259 lines, -0 lines 0 comments Download
A dbus/object_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +116 lines, -0 lines 0 comments Download
A dbus/object_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +197 lines, -0 lines 0 comments Download
A dbus/scoped_dbus_error.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +34 lines, -0 lines 0 comments Download
A dbus/test_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +73 lines, -0 lines 0 comments Download
A dbus/test_service.cc View 1 2 3 4 5 6 7 8 1 chunk +101 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
satorux1
This patch is still work-in-progress, but I'd appreciate it if you could take a look ...
9 years, 5 months ago (2011-07-23 01:14:10 UTC) #1
stevenjb
Some comments on dbus.h/dbus.cpp. Have not looked at the other files yet. http://codereview.chromium.org/7491029/diff/6001/dbus/bus.cc File dbus/bus.cc ...
9 years, 4 months ago (2011-07-29 21:54:17 UTC) #2
satorux1
Steven, Thank you for the early feedback. Addressed the comments locally. I'm now adding server-side ...
9 years, 4 months ago (2011-08-01 19:56:41 UTC) #3
satorux1
http://codereview.chromium.org/7491029/diff/6001/dbus/bus.h File dbus/bus.h (right): http://codereview.chromium.org/7491029/diff/6001/dbus/bus.h#newcode53 dbus/bus.h:53: Options(); On 2011/08/01 19:56:41, satorux1 wrote: > On 2011/07/29 ...
9 years, 4 months ago (2011-08-01 20:01:49 UTC) #4
satorux1
Just uploaded a new patch. The patch is still work-in-progress, but both client and service ...
9 years, 4 months ago (2011-08-03 00:42:26 UTC) #5
satorux1
Steven, The change is now in a good shape (and large). Now end-to-end tests are ...
9 years, 4 months ago (2011-08-06 01:32:26 UTC) #6
stevenjb
Reviewed everything except test code so far. You pushed a patch while I was reviewing, ...
9 years, 4 months ago (2011-08-10 19:40:07 UTC) #7
satorux1
Thank you for the valuable comments. I was impressed that you caught a potential infinite ...
9 years, 4 months ago (2011-08-10 21:14:27 UTC) #8
stevenjb
http://codereview.chromium.org/7491029/diff/31001/dbus/bus.h File dbus/bus.h (right): http://codereview.chromium.org/7491029/diff/31001/dbus/bus.h#newcode146 dbus/bus.h:146: ~Options(); On 2011/08/10 21:14:27, satorux1 wrote: > On 2011/08/10 ...
9 years, 4 months ago (2011-08-10 21:31:17 UTC) #9
satorux1
http://codereview.chromium.org/7491029/diff/33001/dbus/bus.cc File dbus/bus.cc (right): http://codereview.chromium.org/7491029/diff/33001/dbus/bus.cc#newcode422 dbus/bus.cc:422: object_path.c_str()); On 2011/08/10 19:40:07, Steven Bennetts wrote: > Since ...
9 years, 4 months ago (2011-08-10 21:40:55 UTC) #10
stevenjb
I'll try to give this one more look over and glance through the test code ...
9 years, 4 months ago (2011-08-10 21:57:54 UTC) #11
satorux1
On 2011/08/10 21:57:54, Steven Bennetts wrote: Thank you for all the feedback. I've just uploaded ...
9 years, 4 months ago (2011-08-10 23:04:19 UTC) #12
satorux1
The patch set 22 has fixed incorrect comments about deleting objects in callbacks... On 2011/08/10 ...
9 years, 4 months ago (2011-08-10 23:23:09 UTC) #13
stevenjb
Did a fresh pass through everything. Just a few more comments. http://codereview.chromium.org/7491029/diff/39004/dbus/bus.cc File dbus/bus.cc (right): ...
9 years, 4 months ago (2011-08-15 21:42:04 UTC) #14
satorux1
http://codereview.chromium.org/7491029/diff/39004/dbus/bus.cc File dbus/bus.cc (right): http://codereview.chromium.org/7491029/diff/39004/dbus/bus.cc#newcode261 dbus/bus.cc:261: // Delete exported objects. Need to unregister them beforehand. ...
9 years, 4 months ago (2011-08-16 22:25:37 UTC) #15
stevenjb
One last comment about the while loop in ExportedObject::HandleMessage. Otherwise looks good. http://codereview.chromium.org/7491029/diff/39004/dbus/end_to_end_async_unittest.cc File dbus/end_to_end_async_unittest.cc ...
9 years, 4 months ago (2011-08-16 22:53:29 UTC) #16
satorux1
Steven, that was an excellent point. I somehow missed the original comment. http://codereview.chromium.org/7491029/diff/39004/dbus/exported_object.cc File dbus/exported_object.cc ...
9 years, 4 months ago (2011-08-16 23:19:40 UTC) #17
stevenjb
LGTM!
9 years, 4 months ago (2011-08-16 23:22:07 UTC) #18
commit-bot: I haz the power
Try job failure for 7491029-48005 (retry) on linux_clang for step "compile" (clobber build). It's a ...
9 years, 4 months ago (2011-08-17 07:12:14 UTC) #19
commit-bot: I haz the power
Try job failure for 7491029-52001 (retry) on linux for step "compile" (clobber build). It's a ...
9 years, 4 months ago (2011-08-17 15:50:36 UTC) #20
commit-bot: I haz the power
Try job failure for 7491029-50005 (retry) on linux_clang for step "compile" (clobber build). It's a ...
9 years, 4 months ago (2011-08-17 18:32:09 UTC) #21
commit-bot: I haz the power
9 years, 4 months ago (2011-08-17 20:58:16 UTC) #22
Change committed as 97204

Powered by Google App Engine
This is Rietveld 408576698