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

Issue 6759017: iwyu: Cleanup in the following files: (Closed)

Created:
9 years, 9 months ago by James Hawkins
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

iwyu: Cleanup in the following files: * at_exit.cc * atomicops.h * base_paths.h * bzip2_error_handler.cc * callback_internal.h * command_line.cc * cpu.cc * environment.h * event_recorder.cc * file_descriptor_shuffle.cc * file_path.cc BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80340

Patch Set 1 #

Patch Set 2 : Fixes. #

Total comments: 6

Patch Set 3 : Review fixes. #

Patch Set 4 : Copyright again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -45 lines) Patch
M base/at_exit.cc View 1 chunk +5 lines, -1 line 0 comments Download
M base/atomicops.h View 2 chunks +2 lines, -2 lines 0 comments Download
M base/atomicops_unittest.cc View 1 chunk +5 lines, -1 line 0 comments Download
M base/base_paths.h View 2 chunks +3 lines, -2 lines 0 comments Download
M base/base_paths_linux.cc View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M base/bzip2_error_handler.cc View 1 chunk +3 lines, -1 line 0 comments Download
M base/callback_internal.h View 1 chunk +2 lines, -0 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 2 1 chunk +2 lines, -7 lines 0 comments Download
M base/cpu.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M base/environment.h View 1 chunk +1 line, -1 line 0 comments Download
M base/event_recorder.h View 1 1 chunk +6 lines, -4 lines 0 comments Download
M base/event_recorder.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M base/file_descriptor_shuffle.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M base/file_path.h View 2 chunks +4 lines, -2 lines 0 comments Download
M base/file_path.cc View 2 chunks +9 lines, -7 lines 0 comments Download
M chrome/common/switch_utils.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/switch_utils_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
James Hawkins
Brett, I'm taking a look at include-what-you-use against the Chrome code base. For the most ...
9 years, 8 months ago (2011-03-30 16:41:49 UTC) #1
brettw
http://codereview.chromium.org/6759017/diff/1001/base/base_paths_linux.cc File base/base_paths_linux.cc (right): http://codereview.chromium.org/6759017/diff/1001/base/base_paths_linux.cc#newcode7 base/base_paths_linux.cc:7: #if defined(OS_FREEBSD) Can you move this to the bottom? ...
9 years, 8 months ago (2011-03-30 17:32:02 UTC) #2
James Hawkins
Any comments on the size_t issue? http://codereview.chromium.org/6759017/diff/1001/base/base_paths_linux.cc File base/base_paths_linux.cc (right): http://codereview.chromium.org/6759017/diff/1001/base/base_paths_linux.cc#newcode7 base/base_paths_linux.cc:7: #if defined(OS_FREEBSD) On ...
9 years, 8 months ago (2011-03-30 20:16:02 UTC) #3
brettw
9 years, 8 months ago (2011-03-30 20:57:51 UTC) #4
LGTM.

std::size_t seems weird to me, and I can't ever remember seeing code that uses
it. I think we should stick to plain size_t.

I guess I don't care too much about cstddef vs. stddef.h

Powered by Google App Engine
This is Rietveld 408576698