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

Issue 6729002: 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, jshin+watch_chromium.org, 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=79303

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -109 lines) Patch
M base/callback_internal.h View 2 chunks +2 lines, -1 line 0 comments Download
M base/command_line.h View 1 chunk +2 lines, -1 line 0 comments Download
M base/environment.h View 3 chunks +3 lines, -2 lines 0 comments Download
M base/hmac.h View 3 chunks +3 lines, -2 lines 0 comments Download
M base/json/json_reader.h View 2 chunks +2 lines, -1 line 0 comments Download
M base/json/json_writer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M base/json/string_escape.h View 3 chunks +10 lines, -9 lines 0 comments Download
M base/metrics/field_trial.h View 3 chunks +3 lines, -2 lines 0 comments Download
M base/process_util.h View 2 chunks +2 lines, -1 line 0 comments Download
M base/rand_util.h View 2 chunks +6 lines, -5 lines 0 comments Download
M base/sha1.h View 3 chunks +6 lines, -4 lines 0 comments Download
M base/sha2.h View 3 chunks +6 lines, -3 lines 0 comments Download
M base/string_split.h View 4 chunks +31 lines, -30 lines 0 comments Download
M base/sys_string_conversions.h View 4 chunks +11 lines, -7 lines 0 comments Download
M base/task.h View 4 chunks +4 lines, -3 lines 0 comments Download
M base/task_queue.h View 1 chunk +2 lines, -1 line 0 comments Download
M base/threading/platform_thread.h View 3 chunks +4 lines, -3 lines 0 comments Download
M base/threading/simple_thread.h View 4 chunks +7 lines, -5 lines 0 comments Download
M base/threading/thread_collision_warner.h View 6 chunks +6 lines, -5 lines 0 comments Download
M base/threading/thread_local_storage.h View 4 chunks +4 lines, -3 lines 0 comments Download
M base/threading/thread_restrictions.h View 3 chunks +5 lines, -4 lines 0 comments Download
M base/time.h View 4 chunks +4 lines, -3 lines 0 comments Download
M base/tracked.h View 4 chunks +4 lines, -3 lines 0 comments Download
M base/values.h View 9 chunks +9 lines, -8 lines 0 comments Download
M base/version.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
rvargas (doing something else)
9 years, 9 months ago (2011-03-23 20:00:29 UTC) #1
wtc
LGTM. Thanks. I'm counting on you to do the due diligence of verifying that the ...
9 years, 9 months ago (2011-03-23 22:10:25 UTC) #2
rvargas (doing something else)
9 years, 9 months ago (2011-03-23 23:11:12 UTC) #3
On 2011/03/23 22:10:25, wtc wrote:
> LGTM.  Thanks.
> 
> I'm counting on you to do the due diligence of verifying
> that the functions and classes marked with BASE_API are
> truly being used by code outside src/base.
> 
> Ideally we should move such headers to a src/base/public
> or src/base/api directory to make it harder for external
> code to include base-internal headers.  But that'll require
> a lot of changes so I won't ask you to do that.

Thanks for the review.

I'm really not trying to check that everything on base really belongs to base.
That's one of the problems of having a base folder: the risk of people writing
"general purpose code" that is only used once or not at all.

I think that by definition base is "public" by default... so if there are things
that should not be exposed they should be explicitly marked as such.

To be totally honest, the extent of the base.dll project is to be able to have a
tool for faster development and testing, obviously without introducing bugs, but
not particularly focused on performance or small duplication of code.

That said, there is opportunity for cleanup, as it is clear to me that some
parts of the code in base should not be part of this module.

Powered by Google App Engine
This is Rietveld 408576698