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

Issue 10409065: Change setters of dbus::Message to return false instead of aborting on errors (Closed)

Created:
8 years, 7 months ago by hashimoto
Modified:
8 years, 7 months ago
Reviewers:
satorux1
CC:
chromium-reviews
Visibility:
Public.

Description

Change setters of dbus::Message to return false instead of aborting on errors With this change, we can safely return error for invalid object path and service name. It still crashes on invalid method name and interface name if we use MethodCall::MethodCall for setting those parameters. BUG=128967 TEST=dbus_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138441

Patch Set 1 : _ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -47 lines) Patch
M dbus/end_to_end_async_unittest.cc View 1 chunk +38 lines, -0 lines 0 comments Download
M dbus/end_to_end_sync_unittest.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M dbus/exported_object.cc View 1 chunk +1 line, -1 line 0 comments Download
M dbus/message.h View 1 chunk +6 lines, -6 lines 0 comments Download
M dbus/message.cc View 3 chunks +16 lines, -28 lines 0 comments Download
M dbus/message_unittest.cc View 2 chunks +36 lines, -6 lines 0 comments Download
M dbus/object_proxy.cc View 2 chunks +19 lines, -6 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
hashimoto
8 years, 7 months ago (2012-05-22 10:03:29 UTC) #1
satorux1
LGTM. nicely tested.
8 years, 7 months ago (2012-05-22 18:27:23 UTC) #2
commit-bot: I haz the power
8 years, 7 months ago (2012-05-23 00:34:54 UTC) #3

Powered by Google App Engine
This is Rietveld 408576698