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

Issue 7800023: Linux: use MessageLoopProxy instead of base::Thread in our DBus client library. (Closed)

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

Description

Linux: use MessageLoopProxy instead of base::Thread in our DBus client library. This allows us to use BrowserThread::GetMessageLoopProxyForThread() to specify the DBus thread. Also do a little bit of unrelated comment cleanup. BUG=90036 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99794

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -45 lines) Patch
M dbus/bus.h View 1 6 chunks +15 lines, -14 lines 0 comments Download
M dbus/bus.cc View 1 7 chunks +11 lines, -21 lines 0 comments Download
M dbus/bus_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M dbus/end_to_end_async_unittest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M dbus/message.h View 1 1 chunk +1 line, -1 line 0 comments Download
M dbus/test_service.h View 1 3 chunks +6 lines, -2 lines 0 comments Download
M dbus/test_service.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mike Mammarella
http://codereview.chromium.org/7800023/diff/1/dbus/bus.cc File dbus/bus.cc (left): http://codereview.chromium.org/7800023/diff/1/dbus/bus.cc#oldcode191 dbus/bus.cc:191: if (dbus_thread_) { These DCHECKs are the only thing ...
9 years, 3 months ago (2011-09-04 19:23:51 UTC) #1
satorux1
Thank you for the patch. I like the idea of MessageLoopProxy. http://codereview.chromium.org/7800023/diff/1/dbus/bus.cc File dbus/bus.cc (left): ...
9 years, 3 months ago (2011-09-06 17:15:57 UTC) #2
Mike Mammarella
http://codereview.chromium.org/7800023/diff/1/dbus/bus.h File dbus/bus.h (right): http://codereview.chromium.org/7800023/diff/1/dbus/bus.h#newcode84 dbus/bus.h:84: // bool success = !!response.get(); On 2011/09/06 17:15:57, satorux1 ...
9 years, 3 months ago (2011-09-06 19:11:08 UTC) #3
satorux1
9 years, 3 months ago (2011-09-06 19:28:53 UTC) #4
LGTM!

BTW, you might want to add a blank line after the first line in the patch
description to follow the git convention, as we are switching to the git
workflow.

% git commit --help

DISCUSSION
       Though not required, it´s a good idea to begin the commit message with
       a single short (less than 50 character) line summarizing the change,
       followed by a blank line and then a more thorough description. Tools
       that turn commits into email, for example, use the first line on the
       Subject: line and the rest of the commit in the body.

Powered by Google App Engine
This is Rietveld 408576698