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

Issue 8343046: export DownloadRequestHandle (Closed)

Created:
9 years, 1 month ago by Dirk Pranke
Modified:
9 years, 1 month ago
Reviewers:
cbentzel, jam
CC:
chromium-reviews, jam, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

export DownloadRequestHandle - this is needed in both content_unittests and unit_tests. R=jam@chromium.org BUG=90442 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107762

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M content/browser/download/download_request_handle.h View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Dirk Pranke
9 years, 1 month ago (2011-10-28 01:28:34 UTC) #1
Randy Smith (Not in Mondays)
On 2011/10/28 01:28:34, Dirk Pranke wrote: For the record, I don't think this should be ...
9 years, 1 month ago (2011-10-28 12:16:24 UTC) #2
cbentzel
It doesn't look like there's a CONTENT_EXPORT_PRIVATE, which may make sense here. For example, the ...
9 years, 1 month ago (2011-10-28 14:56:12 UTC) #3
jam
lgtm
9 years, 1 month ago (2011-10-28 16:24:50 UTC) #4
Dirk Pranke
Chris is correct, we don't normally distinguish between symbols that needed for regular use and ...
9 years, 1 month ago (2011-10-28 16:29:54 UTC) #5
cbentzel
Yes. LGTM for my driveby.
9 years, 1 month ago (2011-10-28 17:21:34 UTC) #6
Randy Smith (Not in Mondays)
On 2011/10/28 16:29:54, Dirk Pranke wrote: > Chris is correct, we don't normally distinguish between ...
9 years, 1 month ago (2011-10-28 17:22:27 UTC) #7
Randy Smith (Not in Mondays)
On 2011/10/28 17:22:27, rdsmith wrote: > On 2011/10/28 16:29:54, Dirk Pranke wrote: > > Chris ...
9 years, 1 month ago (2011-10-28 17:23:39 UTC) #8
jam
On Fri, Oct 28, 2011 at 10:22 AM, <rdsmith@chromium.org> wrote: > On 2011/10/28 16:29:54, Dirk ...
9 years, 1 month ago (2011-10-28 17:27:04 UTC) #9
Dirk Pranke
On Fri, Oct 28, 2011 at 10:26 AM, John Abd-El-Malek <jam@chromium.org> wrote: > > > ...
9 years, 1 month ago (2011-10-28 18:25:37 UTC) #10
Randy Smith (Not in Mondays)
On 2011/10/28 18:25:37, Dirk Pranke wrote: > On Fri, Oct 28, 2011 at 10:26 AM, ...
9 years, 1 month ago (2011-10-28 18:28:03 UTC) #11
Dirk Pranke
9 years, 1 month ago (2011-10-28 18:32:10 UTC) #12
On Fri, Oct 28, 2011 at 11:28 AM,  <rdsmith@chromium.org> wrote:
> On 2011/10/28 18:25:37, Dirk Pranke wrote:
>>
>> On Fri, Oct 28, 2011 at 10:26 AM, John Abd-El-Malek
>> <mailto:jam@chromium.org>
>
> wrote:
>>
>> >
>> >
>> > On Fri, Oct 28, 2011 at 10:22 AM, <mailto:rdsmith@chromium.org> wrote:
>> >>
>> >> On 2011/10/28 16:29:54, Dirk Pranke wrote:
>> >>>
>> >>> Chris is correct, we don't normally distinguish between symbols that
>> >>> needed for regular use and symbols only needed for tests (net is an
>> >>> exception in this regard, but we've since decided that this is a
>> >>> practice we don't want to continue).
>> >>
>> >>> In addition, the symbol will be need to be exported even in
>> >>> content_unittests, since that will also link against a DLL in the
>> >>> component build.
>> >>
>> >>> These are unfortunate side effects of the way symbol exporting works
>> >>> on windows; we need to get used to the idea that exporting symbols
>> >>> does not indicate that they are "public".
>> >>
>> >>> Does that all make sense?
>> >>
>> >> I understand the practical argument, but I thought the point of
>> >> CONTENT_EXPORT
>> >> was to define an API,
>> >
>> > not quite, as Dirk said this will also be used by unit tests
>> > the api is defined by code which is in content/public
>> >
>
>> Right, what I'm saying is that CONTENT_EXPORT has nothing to do with
>> what is considered to be the API, and we need to think of it as an
>> annoying implementation artifact of the way linkers work, nothing
>> more.
>
>> -- Dirk
>
> Got it.  Sorry to be slow.
>

Not at all; this is pretty much the opposite of what everyone expects :)

-- Dirk

Powered by Google App Engine
This is Rietveld 408576698