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

Issue 7240021: net: Add NET_API for some linux-only files (Closed)

Created:
9 years, 6 months ago by rvargas (doing something else)
Modified:
9 years, 5 months ago
Reviewers:
brettw, wtc, Evan Martin
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

net: Add NET_API to more code to enable building a shared net library on Linux, and update base and crypto API definitions. BUG=76997 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91234

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -44 lines) Patch
M base/base_api.h View 1 1 chunk +6 lines, -3 lines 5 comments Download
M crypto/crypto_api.h View 1 1 chunk +6 lines, -3 lines 0 comments Download
M net/base/net_api.h View 1 2 chunks +10 lines, -2 lines 0 comments Download
M net/http/http_auth_gssapi_posix.h View 1 5 chunks +5 lines, -4 lines 0 comments Download
M net/http/http_auth_handler_ntlm.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_network_session.h View 1 2 chunks +6 lines, -21 lines 0 comments Download
M net/http/http_network_session.cc View 1 1 chunk +28 lines, -0 lines 0 comments Download
M net/ocsp/nss_ocsp.h View 1 2 chunks +6 lines, -4 lines 0 comments Download
M net/proxy/proxy_config_service_linux.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/tcp_client_socket_libevent.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M net/socket/tcp_server_socket_libevent.h View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rvargas (doing something else)
Evan, ProxyConfigServiceLinux was annotated with BASE_API, but that looks like a mistake.
9 years, 6 months ago (2011-06-24 02:19:29 UTC) #1
Evan Martin
LGTM, but I think maybe one file is a mistake http://codereview.chromium.org/7240021/diff/1/net/socket/client_socket_pool_manager.h File net/socket/client_socket_pool_manager.h (right): http://codereview.chromium.org/7240021/diff/1/net/socket/client_socket_pool_manager.h#newcode86 ...
9 years, 6 months ago (2011-06-24 02:32:55 UTC) #2
wtc
LGTM. Nit: some of these files are not Linux only; they are also used by ...
9 years, 6 months ago (2011-06-24 16:36:26 UTC) #3
wtc
http://codereview.chromium.org/7240021/diff/1/net/base/net_api.h File net/base/net_api.h (right): http://codereview.chromium.org/7240021/diff/1/net/base/net_api.h#newcode24 net/base/net_api.h:24: #define NET_TEST __attribute__((visibility("default"))) I guess there is a corresponding ...
9 years, 6 months ago (2011-06-24 16:38:50 UTC) #4
Evan Martin
On 2011/06/24 16:38:50, wtc wrote: > http://codereview.chromium.org/7240021/diff/1/net/base/net_api.h > File net/base/net_api.h (right): > > http://codereview.chromium.org/7240021/diff/1/net/base/net_api.h#newcode24 > ...
9 years, 6 months ago (2011-06-24 17:59:37 UTC) #5
rvargas (doing something else)
Thanks. I added http_network_session.*, base_api.h and crypto_api.h. Please take another look. http://codereview.chromium.org/7240021/diff/1/net/socket/client_socket_pool_manager.h File net/socket/client_socket_pool_manager.h (right): ...
9 years, 6 months ago (2011-06-24 22:37:20 UTC) #6
wtc
LGTM. http://codereview.chromium.org/7240021/diff/8001/base/base_api.h File base/base_api.h (right): http://codereview.chromium.org/7240021/diff/8001/base/base_api.h#newcode21 base/base_api.h:21: These blank lines don't work for me either, ...
9 years, 6 months ago (2011-06-24 23:18:48 UTC) #7
rvargas (doing something else)
http://codereview.chromium.org/7240021/diff/8001/base/base_api.h File base/base_api.h (right): http://codereview.chromium.org/7240021/diff/8001/base/base_api.h#newcode21 base/base_api.h:21: Actually the lines help me (although they look weird ...
9 years, 6 months ago (2011-06-24 23:27:58 UTC) #8
wtc
http://codereview.chromium.org/7240021/diff/8001/base/base_api.h File base/base_api.h (right): http://codereview.chromium.org/7240021/diff/8001/base/base_api.h#newcode21 base/base_api.h:21: On 2011/06/24 23:27:58, rvargas wrote: > Actually the lines ...
9 years, 6 months ago (2011-06-24 23:44:18 UTC) #9
rvargas (doing something else)
http://codereview.chromium.org/7240021/diff/8001/base/base_api.h File base/base_api.h (right): http://codereview.chromium.org/7240021/diff/8001/base/base_api.h#newcode21 base/base_api.h:21: On 2011/06/24 23:44:19, wtc wrote: > On 2011/06/24 23:27:58, ...
9 years, 6 months ago (2011-06-25 01:16:45 UTC) #10
brettw
9 years, 5 months ago (2011-06-30 21:17:33 UTC) #11
base LGTM

http://codereview.chromium.org/7240021/diff/8001/base/base_api.h
File base/base_api.h (right):

http://codereview.chromium.org/7240021/diff/8001/base/base_api.h#newcode21
base/base_api.h:21: 
We don't normally do the indenting. I think in this case with your blank lines
it's good enough. If it was much more complicated we'd have to do some kind of
indenting or it would be totally unreadable.

Powered by Google App Engine
This is Rietveld 408576698