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

Issue 8637002: chrome: dbus: support asynchronous method replies (Closed)

Created:
9 years, 1 month ago by Vince Laviano
Modified:
9 years, 1 month ago
Reviewers:
satorux1
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

chrome: dbus: support asynchronous method replies BUG=chromium-os:23241 TEST=Unit tests and manual testing on device. Change-Id: I4d665897687030f4ab2379e4f6ddb9b3ebe02af4 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111479

Patch Set 1 #

Patch Set 2 : Fix MethodCallCallback in bus.h comments to have void return type #

Total comments: 8

Patch Set 3 : Address satorux@ review comments #

Total comments: 12

Patch Set 4 : Fix style nits #

Total comments: 4

Patch Set 5 : Fix style nits #

Patch Set 6 : Fix memory management issue in ExportedObject::HandleMessage #

Total comments: 2

Patch Set 7 : Add unit test for async method reply and fix style nit #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -44 lines) Patch
M chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc View 1 2 3 chunks +12 lines, -8 lines 0 comments Download
M dbus/bus.h View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M dbus/end_to_end_async_unittest.cc View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
M dbus/exported_object.h View 1 2 2 chunks +16 lines, -3 lines 0 comments Download
M dbus/exported_object.cc View 1 2 3 4 5 6 2 chunks +27 lines, -13 lines 0 comments Download
M dbus/test_service.h View 1 2 3 4 5 6 3 chunks +12 lines, -4 lines 0 comments Download
M dbus/test_service.cc View 1 2 3 4 5 6 3 chunks +38 lines, -10 lines 1 comment Download

Messages

Total messages: 13 (0 generated)
satorux1
Looks nice overall. Minor comments only: http://codereview.chromium.org/8637002/diff/9/chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h File chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h (right): http://codereview.chromium.org/8637002/diff/9/chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h#newcode106 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h:106: dbus::ExportedObject::SendResponseCallback send_response_cb); cb ...
9 years, 1 month ago (2011-11-22 06:20:02 UTC) #1
Vince Laviano
http://codereview.chromium.org/8637002/diff/9/chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h File chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h (right): http://codereview.chromium.org/8637002/diff/9/chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h#newcode106 chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h:106: dbus::ExportedObject::SendResponseCallback send_response_cb); On 2011/11/22 06:20:05, satorux1 wrote: > cb ...
9 years, 1 month ago (2011-11-22 22:10:17 UTC) #2
satorux1
LGTM with style nits http://codereview.chromium.org/8637002/diff/5001/dbus/bus.h File dbus/bus.h (right): http://codereview.chromium.org/8637002/diff/5001/dbus/bus.h#newcode104 dbus/bus.h:104: // dbus::ExportedObject::ResponseSender response_sender) { not ...
9 years, 1 month ago (2011-11-22 22:38:17 UTC) #3
Vince Laviano
http://codereview.chromium.org/8637002/diff/5001/dbus/bus.h File dbus/bus.h (right): http://codereview.chromium.org/8637002/diff/5001/dbus/bus.h#newcode104 dbus/bus.h:104: // dbus::ExportedObject::ResponseSender response_sender) { On 2011/11/22 22:38:17, satorux1 wrote: ...
9 years, 1 month ago (2011-11-22 23:16:22 UTC) #4
satorux1
LGTM with style nits. http://codereview.chromium.org/8637002/diff/12001/dbus/test_service.cc File dbus/test_service.cc (right): http://codereview.chromium.org/8637002/diff/12001/dbus/test_service.cc#newcode182 dbus/test_service.cc:182: dbus::ExportedObject::ResponseSender response_sender) { In this ...
9 years, 1 month ago (2011-11-22 23:55:38 UTC) #5
Vince Laviano
http://codereview.chromium.org/8637002/diff/12001/dbus/test_service.cc File dbus/test_service.cc (right): http://codereview.chromium.org/8637002/diff/12001/dbus/test_service.cc#newcode182 dbus/test_service.cc:182: dbus::ExportedObject::ResponseSender response_sender) { On 2011/11/22 23:55:39, satorux1 wrote: > ...
9 years, 1 month ago (2011-11-23 00:04:24 UTC) #6
satorux1
LGTM again just in case.
9 years, 1 month ago (2011-11-23 00:05:48 UTC) #7
Vince Laviano
Uploaded a new patchset that fixes a memory management issue in ExportedObject::HandleMessage that I discovered ...
9 years, 1 month ago (2011-11-23 22:42:07 UTC) #8
satorux1
LGTM. wow, this was a subtle bug. http://codereview.chromium.org/8637002/diff/18001/dbus/exported_object.cc File dbus/exported_object.cc (right): http://codereview.chromium.org/8637002/diff/18001/dbus/exported_object.cc#newcode228 dbus/exported_object.cc:228: MethodCall* method_call_ptr ...
9 years, 1 month ago (2011-11-23 23:31:45 UTC) #9
Vince Laviano
Fixed style nit and added the unit test that we discussed offline. http://codereview.chromium.org/8637002/diff/18001/dbus/exported_object.cc File dbus/exported_object.cc ...
9 years, 1 month ago (2011-11-24 00:14:12 UTC) #10
satorux1
LGTM++. Awesome. http://codereview.chromium.org/8637002/diff/22001/dbus/test_service.cc File dbus/test_service.cc (right): http://codereview.chromium.org/8637002/diff/22001/dbus/test_service.cc#newcode202 dbus/test_service.cc:202: base::Bind(&TestService::Echo, Oh nice, you could reuse this. ...
9 years, 1 month ago (2011-11-24 00:17:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vlaviano@chromium.org/8637002/22001
9 years, 1 month ago (2011-11-24 00:20:20 UTC) #12
commit-bot: I haz the power
9 years, 1 month ago (2011-11-24 02:23:35 UTC) #13
Change committed as 111479

Powered by Google App Engine
This is Rietveld 408576698