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

Issue 7830009: Add Bus::ShutdownOnDBusThreadAndBlock() and remove bus::Shutdown() (Closed)

Created:
9 years, 3 months ago by satorux1
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add Bus::ShutdownOnDBusThreadAndBlock() and remove bus::Shutdown() This function is intended to use at the the very end of the browser shutdown, where it it makes more sense to shut down the bus synchronously, than trying to make it asynchronous. Remove Bus::Shutdown() as we are unlikely to need it for the production code. BUG=chromium:90036 TEST=dbus_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99331

Patch Set 1 #

Total comments: 3

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -70 lines) Patch
M dbus/bus.h View 1 8 chunks +20 lines, -14 lines 0 comments Download
M dbus/bus.cc View 1 4 chunks +23 lines, -10 lines 0 comments Download
M dbus/bus_unittest.cc View 1 2 chunks +32 lines, -0 lines 0 comments Download
M dbus/end_to_end_async_unittest.cc View 1 2 chunks +2 lines, -12 lines 0 comments Download
M dbus/end_to_end_sync_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M dbus/mock_bus.h View 1 1 chunk +1 line, -1 line 0 comments Download
M dbus/test_service.h View 1 3 chunks +4 lines, -12 lines 0 comments Download
M dbus/test_service.cc View 1 4 chunks +9 lines, -19 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
satorux1
9 years, 3 months ago (2011-09-01 17:32:13 UTC) #1
stevenjb
http://codereview.chromium.org/7830009/diff/1/dbus/bus.h File dbus/bus.h (right): http://codereview.chromium.org/7830009/diff/1/dbus/bus.h#newcode236 dbus/bus.h:236: virtual void ShutdownAndBlockWithDBusThread(); Do we need to expose both ...
9 years, 3 months ago (2011-09-01 17:53:44 UTC) #2
satorux1
http://codereview.chromium.org/7830009/diff/1/dbus/bus.h File dbus/bus.h (right): http://codereview.chromium.org/7830009/diff/1/dbus/bus.h#newcode236 dbus/bus.h:236: virtual void ShutdownAndBlockWithDBusThread(); On 2011/09/01 17:53:44, Steven Bennetts wrote: ...
9 years, 3 months ago (2011-09-01 17:57:29 UTC) #3
stevenjb
http://codereview.chromium.org/7830009/diff/1/dbus/bus.h File dbus/bus.h (right): http://codereview.chromium.org/7830009/diff/1/dbus/bus.h#newcode236 dbus/bus.h:236: virtual void ShutdownAndBlockWithDBusThread(); On 2011/09/01 17:57:30, satorux1 wrote: > ...
9 years, 3 months ago (2011-09-01 18:19:33 UTC) #4
satorux1
On 2011/09/01 18:19:33, Steven Bennetts wrote: > http://codereview.chromium.org/7830009/diff/1/dbus/bus.h > File dbus/bus.h (right): > > http://codereview.chromium.org/7830009/diff/1/dbus/bus.h#newcode236 ...
9 years, 3 months ago (2011-09-01 18:37:00 UTC) #5
stevenjb
LGTM
9 years, 3 months ago (2011-09-01 19:58:14 UTC) #6
commit-bot: I haz the power
9 years, 3 months ago (2011-09-02 06:56:31 UTC) #7
Change committed as 99331

Powered by Google App Engine
This is Rietveld 408576698