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

Issue 495002: Changes to base/ from a combination of FreeBSD and OpenBSD patches. (Closed)

Created:
11 years ago by Evan Martin
Modified:
9 years, 7 months ago
Reviewers:
agl
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, Paweł Hajdan Jr., pam+watch_chromium.org, John Grabowski
Visibility:
Public.

Description

Changes to base/ from a combination of FreeBSD and OpenBSD patches. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35321

Patch Set 1 #

Patch Set 2 : minor tweaks #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -67 lines) Patch
M base/allocator/allocator.gyp View 1 chunk +1 line, -1 line 0 comments Download
M base/base.gypi View 1 3 chunks +13 lines, -6 lines 0 comments Download
M base/command_line.h View 1 chunk +1 line, -1 line 0 comments Download
M base/command_line.cc View 1 chunk +1 line, -1 line 1 comment Download
M base/debug_util_posix.cc View 1 chunk +9 lines, -1 line 0 comments Download
M base/file_util_posix.cc View 2 chunks +2 lines, -2 lines 2 comments Download
M base/file_util_unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M base/file_version_info.h View 1 chunk +1 line, -1 line 0 comments Download
M base/gfx/rect.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M base/i18n/file_util_icu.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/i18n/file_util_icu_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/i18n/icu_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/logging.h View 1 chunk +1 line, -1 line 0 comments Download
M base/logging.cc View 4 chunks +6 lines, -3 lines 0 comments Download
M base/message_loop.h View 5 chunks +6 lines, -6 lines 1 comment Download
M base/message_loop.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M base/message_loop_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/mime_util.h View 1 chunk +1 line, -1 line 0 comments Download
M base/native_library.h View 1 chunk +1 line, -1 line 0 comments Download
M base/platform_thread_posix.cc View 2 chunks +4 lines, -1 line 0 comments Download
M base/process.h View 4 chunks +5 lines, -5 lines 0 comments Download
M base/process_util_posix.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/process_util_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M base/scoped_handle.h View 1 chunk +1 line, -1 line 0 comments Download
M base/sys_info.h View 1 chunk +1 line, -1 line 0 comments Download
M base/sys_info_freebsd.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M base/sys_info_posix.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M base/test/test_file_util_posix.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M base/test/test_suite.h View 3 chunks +4 lines, -4 lines 0 comments Download
M base/third_party/nspr/prtime.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Evan Martin
11 years ago (2009-12-11 21:06:25 UTC) #1
agl
11 years ago (2009-12-14 19:31:26 UTC) #2
LGTM

http://codereview.chromium.org/495002/diff/1001/2003
File base/command_line.cc (right):

http://codereview.chromium.org/495002/diff/1001/2003#newcode215
base/command_line.cc:215: setproctitle("%s", title.c_str());
FreeBSD has a kernel call for setproctitle. You might want to add a comment
around here to that effect as we'll probably want to use it.

http://codereview.chromium.org/495002/diff/1001/2006
File base/file_util_posix.cc (right):

http://codereview.chromium.org/495002/diff/1001/2006#newcode88
base/file_util_posix.cc:88: #if !defined(OS_POSIX)
This is defeating the intent of the #ifdef which is to highlight this situation
for new ports. However, the line is getting a little long. Maybe it should be
removed, but we shouldn't change it to !defined(OS_POSIX)

http://codereview.chromium.org/495002/diff/1001/2006#newcode633
base/file_util_posix.cc:633: #if !defined(OS_POSIX)
Likewise.

http://codereview.chromium.org/495002/diff/1001/2016
File base/message_loop.h (right):

http://codereview.chromium.org/495002/diff/1001/2016#newcode24
base/message_loop.h:24: #if !defined(OS_MACOSX)
It might be against our style, but I would still indent this:

#  if !defined...

Feel free to ignore me if you like.

Powered by Google App Engine
This is Rietveld 408576698