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

Issue 12211022: Call get_dispatch_status function to handle Disconnected signal. (Closed)

Created:
7 years, 10 months ago by Seigo Nonaka
Modified:
7 years, 10 months ago
Reviewers:
satorux1
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Call get_dispatch_status function to handle Disconnected signal. It turns out that dbus_connection_get_dispatch_status should be called even if the connection is lost, otherwise we miss "Disconnected" signal. BUG=174431 TEST=Manually done on alex and ran dbus_unittests. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181479

Patch Set 1 : #

Total comments: 6

Patch Set 2 : fix DCHECK #

Total comments: 4

Patch Set 3 : Addressing comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -7 lines) Patch
M dbus/bus.h View 1 3 chunks +13 lines, -0 lines 0 comments Download
M dbus/bus.cc View 1 2 8 chunks +51 lines, -7 lines 1 comment Download

Messages

Total messages: 11 (0 generated)
Seigo Nonaka
7 years, 10 months ago (2013-02-05 21:38:29 UTC) #1
satorux1
https://codereview.chromium.org/12211022/diff/3001/dbus/bus.cc File dbus/bus.cc (right): https://codereview.chromium.org/12211022/diff/3001/dbus/bus.cc#newcode6 dbus/bus.cc:6: // - Handle "disconnected" signal. please remove this. https://codereview.chromium.org/12211022/diff/3001/dbus/bus.cc#newcode866 ...
7 years, 10 months ago (2013-02-06 03:15:38 UTC) #2
Seigo Nonaka
Sorry, there are few DCHECK failure. Latest patch fixes them and checked this works on ...
7 years, 10 months ago (2013-02-06 04:57:22 UTC) #3
Seigo Nonaka
ping, just in case.
7 years, 10 months ago (2013-02-08 07:58:30 UTC) #4
satorux1
https://codereview.chromium.org/12211022/diff/1003/dbus/bus.cc File dbus/bus.cc (right): https://codereview.chromium.org/12211022/diff/1003/dbus/bus.cc#newcode872 dbus/bus.cc:872: AssertOnDBusThread(); nit: add a blank line here. https://codereview.chromium.org/12211022/diff/1003/dbus/bus.cc#newcode878 dbus/bus.cc:878: ...
7 years, 10 months ago (2013-02-08 08:11:10 UTC) #5
Seigo Nonaka
https://codereview.chromium.org/12211022/diff/1003/dbus/bus.cc File dbus/bus.cc (right): https://codereview.chromium.org/12211022/diff/1003/dbus/bus.cc#newcode872 dbus/bus.cc:872: AssertOnDBusThread(); On 2013/02/08 08:11:10, satorux1 wrote: > nit: add ...
7 years, 10 months ago (2013-02-08 08:25:41 UTC) #6
satorux1
LGTM
7 years, 10 months ago (2013-02-08 08:29:42 UTC) #7
Seigo Nonaka
Thank you for your review! Submitting...
7 years, 10 months ago (2013-02-08 08:31:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nona@chromium.org/12211022/2004
7 years, 10 months ago (2013-02-08 08:32:04 UTC) #9
commit-bot: I haz the power
Change committed as 181479
7 years, 10 months ago (2013-02-08 10:53:44 UTC) #10
satorux1
7 years, 10 months ago (2013-02-08 13:39:06 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/12211022/diff/2004/dbus/bus.cc
File dbus/bus.cc (right):

https://codereview.chromium.org/12211022/diff/2004/dbus/bus.cc#newcode380
dbus/bus.cc:380: return;  // Already shutdowned, just return.
Do we need this? Looks unnecessary.

Powered by Google App Engine
This is Rietveld 408576698