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

Issue 6733031: Base: A few more files using BASE_API (for base.dll) (Closed)

Created:
9 years, 9 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
Reviewers:
wtc
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Base: A few more files using BASE_API (for base.dll) BUG=76996 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79426

Patch Set 1 #

Total comments: 7

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -175 lines) Patch
M base/cpu.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M base/file_path.h View 3 chunks +3 lines, -2 lines 0 comments Download
M base/file_util.h View 1 16 chunks +95 lines, -80 lines 0 comments Download
M base/file_util_deprecated.h View 2 chunks +13 lines, -10 lines 0 comments Download
M base/file_version_info.h View 3 chunks +4 lines, -4 lines 0 comments Download
M base/file_version_info_win.h View 3 chunks +3 lines, -2 lines 0 comments Download
M base/logging.h View 10 chunks +25 lines, -23 lines 0 comments Download
M base/path_service.h View 2 chunks +4 lines, -4 lines 0 comments Download
M base/pickle.h View 2 chunks +2 lines, -1 line 0 comments Download
M base/platform_file.h View 4 chunks +23 lines, -18 lines 0 comments Download
M base/scoped_temp_dir.h View 2 chunks +3 lines, -2 lines 0 comments Download
M base/shared_memory.h View 3 chunks +3 lines, -2 lines 0 comments Download
M base/synchronization/lock_impl.h View 2 chunks +1 line, -2 lines 0 comments Download
M base/threading/non_thread_safe.h View 2 chunks +2 lines, -2 lines 0 comments Download
M base/threading/non_thread_safe_impl.h View 2 chunks +2 lines, -1 line 0 comments Download
M base/utf_offset_string_conversions.h View 3 chunks +14 lines, -13 lines 0 comments Download
M base/win/windows_version.h View 4 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
rvargas (doing something else)
9 years, 9 months ago (2011-03-24 19:21:24 UTC) #1
wtc
LGTM. Please note my comment marked with "IMPORTANT" below. http://codereview.chromium.org/6733031/diff/1/base/base_paths.h File base/base_paths.h (right): http://codereview.chromium.org/6733031/diff/1/base/base_paths.h#newcode12 base/base_paths.h:12: ...
9 years, 9 months ago (2011-03-25 17:35:42 UTC) #2
rvargas (doing something else)
9 years, 9 months ago (2011-03-25 17:59:56 UTC) #3
Done, thanks.

http://codereview.chromium.org/6733031/diff/1/base/base_paths.h
File base/base_paths.h (right):

http://codereview.chromium.org/6733031/diff/1/base/base_paths.h#newcode12
base/base_paths.h:12: #include "build/build_config.h"
On 2011/03/25 17:35:42, wtc wrote:
> I suspect that basictypes.h already includes build_config.h.
> Also, the current recommendation is to list build_config.h
> in normal alphabetical order, and then list the platform-
> specific headers.  So we should say
> 
> #include "base/basictypes.h"
> #include "build/build_config.h"
> #if defined(OS_WIN)
> #include "base/base_paths_win.h"
> #elif defined(OS_MACOSX)
> #include "base/base_paths_mac.h"
> #endif

I guess I should not be touching this file at all. I guess I changed it before
realizing that basictypes depends on build_config. I'll just leave it alone (it
needs either build_config or basic_types, but not both).

http://codereview.chromium.org/6733031/diff/1/base/cpu.h
File base/cpu.h (right):

http://codereview.chromium.org/6733031/diff/1/base/cpu.h#newcode12
base/cpu.h:12: #include <string>
On 2011/03/25 17:35:42, wtc wrote:
> This header should not need to include build_config.h.
> So we should say
> 
> #include <string>
> 
> #include "base/base_api.h"

Done.

Powered by Google App Engine
This is Rietveld 408576698