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

Issue 2939004: Add option to build googleurl as dll... (Closed)

Created:
10 years, 5 months ago by Victor Wang
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add option to build googleurl as dll -. Export/import google url APIs if GURL_DLL is defined. -. Move DecodeURLEscapeSequences from webcore KURLGoogle to url_util to avoid external code accessing googleurl global varaibles. R=brettw BUG=46311 TEST=Googleurl_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+552 lines, -383 lines) Patch
M src/gurl.h View 13 chunks +29 lines, -26 lines 0 comments Download
M src/url_canon.h View 1 2 16 chunks +218 lines, -217 lines 0 comments Download
M src/url_canon_icu.h View 1 chunk +5 lines, -5 lines 0 comments Download
M src/url_canon_ip.h View 1 2 3 chunks +23 lines, -20 lines 0 comments Download
M src/url_canon_stdstring.h View 3 chunks +6 lines, -5 lines 0 comments Download
A src/url_common.h View 1 2 3 1 chunk +44 lines, -0 lines 2 comments Download
M src/url_parse.h View 1 2 9 chunks +44 lines, -42 lines 0 comments Download
M src/url_util.h View 1 2 9 chunks +73 lines, -64 lines 0 comments Download
M src/url_util.cc View 2 chunks +50 lines, -0 lines 0 comments Download
M src/url_util_unittest.cc View 3 chunks +60 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Victor Wang
10 years, 5 months ago (2010-07-08 23:44:26 UTC) #1
darin (slow to review)
I'm a little concerned about not decorating all "public" functions and methods with GURL_API. In ...
10 years, 5 months ago (2010-07-09 04:28:07 UTC) #2
darin (slow to review)
Probably good to get Brett's take on my suggestion before investing the time to make ...
10 years, 5 months ago (2010-07-09 04:28:32 UTC) #3
Victor Wang
Brett, let me know your thoughts on this. This patch only exports those APIs that ...
10 years, 5 months ago (2010-07-09 04:54:40 UTC) #4
brettw
I agree with Darin about having all public methods be exported. Otherwise I think this ...
10 years, 5 months ago (2010-07-12 05:12:01 UTC) #5
Victor Wang
On 2010/07/12 05:12:01, brettw wrote: > I agree with Darin about having all public methods ...
10 years, 5 months ago (2010-07-12 18:33:40 UTC) #6
brettw
LGTM, just one minor comment. http://codereview.chromium.org/2939004/diff/13002/34006 File src/url_common.h (right): http://codereview.chromium.org/2939004/diff/13002/34006#newcode30 src/url_common.h:30: #ifndef GOOGLEURL_SRC_URL_COMMON_H__ Use only ...
10 years, 5 months ago (2010-07-12 22:20:40 UTC) #7
Victor Wang
10 years, 5 months ago (2010-07-12 22:33:47 UTC) #8
http://codereview.chromium.org/2939004/diff/13002/34006
File src/url_common.h (right):

http://codereview.chromium.org/2939004/diff/13002/34006#newcode30
src/url_common.h:30: #ifndef GOOGLEURL_SRC_URL_COMMON_H__
On 2010/07/12 22:20:40, brettw wrote:
> Use only one underscore at the end of include guards.
Looks like other header files use two underscores at the end, do you think we
should make this one different? I know google c++ style guide says one
underscore, so another option would be changing the #define guard in all header
files to end with one underscore. I think we should make all files be consistent
regardless which option to follow...

Powered by Google App Engine
This is Rietveld 408576698