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

Issue 9373039: Allow dbus clients to silence logging when a service is unavailable. (Closed)

Created:
8 years, 10 months ago by adamk
Modified:
8 years, 10 months ago
Reviewers:
satorux1
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Evan Martin
Visibility:
Public.

Description

Allow dbus clients to silence logging when a service is unavailable. BUG=109696 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=121544

Patch Set 1 #

Total comments: 14

Patch Set 2 : Responded to review comments #

Patch Set 3 : Remove string.h include #

Total comments: 5

Patch Set 4 : Use pair, factor out error logging logic #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -15 lines) Patch
M dbus/bus.h View 1 2 3 2 chunks +12 lines, -3 lines 0 comments Download
M dbus/bus.cc View 1 2 3 1 chunk +9 lines, -2 lines 0 comments Download
M dbus/bus_unittest.cc View 1 1 chunk +32 lines, -0 lines 0 comments Download
M dbus/mock_bus.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M dbus/mock_object_proxy.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M dbus/object_proxy.h View 1 2 3 4 chunks +19 lines, -3 lines 0 comments Download
M dbus/object_proxy.cc View 1 2 3 6 chunks +20 lines, -6 lines 1 comment Download
M dbus/scoped_dbus_error.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
adamk
Satoru: note that I've taken a different approach here than discussed previously in email. If ...
8 years, 10 months ago (2012-02-09 21:36:05 UTC) #1
satorux1
Let's make it a bit more generic, and then I think it's an acceptable solution. ...
8 years, 10 months ago (2012-02-10 08:12:52 UTC) #2
satorux1
http://codereview.chromium.org/9373039/diff/1/dbus/object_proxy.h File dbus/object_proxy.h (right): http://codereview.chromium.org/9373039/diff/1/dbus/object_proxy.h#newcode39 dbus/object_proxy.h:39: IGNORE_SERVICE_UNKNOWN_ERRORS On 2012/02/10 08:12:52, satorux1 wrote: > Let's make ...
8 years, 10 months ago (2012-02-10 08:15:13 UTC) #3
adamk
Thanks for the review, I've made it a generic options argument as requested, and split ...
8 years, 10 months ago (2012-02-10 17:57:16 UTC) #4
satorux1
Thanks. I like the new version. I have one more request: http://codereview.chromium.org/9373039/diff/8009/dbus/bus.cc File dbus/bus.cc (right): ...
8 years, 10 months ago (2012-02-10 18:09:01 UTC) #5
adamk
Besides your request, I've also factored out the error-logging logic into its own method to ...
8 years, 10 months ago (2012-02-10 19:28:21 UTC) #6
satorux1
LGTM http://codereview.chromium.org/9373039/diff/11002/dbus/object_proxy.cc File dbus/object_proxy.cc (right): http://codereview.chromium.org/9373039/diff/11002/dbus/object_proxy.cc#newcode428 dbus/object_proxy.cc:428: return; Nice. it's now easier to understand and ...
8 years, 10 months ago (2012-02-10 20:00:11 UTC) #7
commit-bot: I haz the power
8 years, 10 months ago (2012-02-10 20:05:56 UTC) #8

Powered by Google App Engine
This is Rietveld 408576698