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

Issue 10815083: Make dbus file descriptor check dynamic (Closed)

Created:
8 years, 5 months ago by DaveMoore
Modified:
8 years, 5 months ago
Reviewers:
satorux1
CC:
chromium-reviews, Sam Leffler
Visibility:
Public.

Description

Make dbus file descriptor check dynamic Without this change cros builds from outside the chroot can't run tracing code. BUG=None TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148351

Patch Set 1 #

Patch Set 2 : Remove redundant check #

Patch Set 3 : use && #

Total comments: 2

Patch Set 4 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -13 lines) Patch
M dbus/message.h View 1 chunk +1 line, -4 lines 0 comments Download
M dbus/message.cc View 1 2 3 5 chunks +18 lines, -9 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
DaveMoore
8 years, 5 months ago (2012-07-24 21:24:29 UTC) #1
satorux1
8 years, 5 months ago (2012-07-24 21:49:08 UTC) #2
LGTM with nits:

http://codereview.chromium.org/10815083/diff/4001/dbus/message.cc
File dbus/message.cc (right):

http://codereview.chromium.org/10815083/diff/4001/dbus/message.cc#newcode40
dbus/message.cc:40: bool IsDBusTypeUnixFdSupported() {
It's not obvious why we should check this run time. maybe add something like:

// Returns true if Unix FD passing is supported in libdbus.
// The check is done runtime rather than compile time as the libdbus
// version used at runtime may be different from the one used at compile time.

http://codereview.chromium.org/10815083/diff/4001/dbus/message.cc#newcode41
dbus/message.cc:41: int major, minor, micro;
nit: initialize them with 0 just in case.

Powered by Google App Engine
This is Rietveld 408576698