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

Issue 556068: BSD port: USE_NSS and other macros instead of OS_LINUX where applicable (Closed)

Created:
10 years, 10 months ago by Peter Valchev
Modified:
9 years, 7 months ago
Reviewers:
wtc, Evan Martin
CC:
chromium-reviews, darin (slow to review), Paweł Hajdan Jr.
Visibility:
Public.

Description

BSD port: USE_NSS and other macros instead of OS_LINUX where applicable Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37492

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -20 lines) Patch
M net/base/cert_verifier.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/base/ev_root_ca_metadata.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/base/ev_root_ca_metadata.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/base/host_resolver_proc.cc View 1 2 3 8 chunks +13 lines, -8 lines 0 comments Download
M net/base/telnet_server.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/base/x509_certificate.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/socket/client_socket.h View 1 2 1 chunk +2 lines, -1 line 2 comments Download
M net/socket/client_socket_factory.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Peter Valchev
10 years, 10 months ago (2010-01-29 01:11:08 UTC) #1
Evan Martin
http://codereview.chromium.org/556068/diff/1/9 File net/base/host_resolver_proc.cc (right): http://codereview.chromium.org/556068/diff/1/9#newcode81 net/base/host_resolver_proc.cc:81: // On Linux changes to /etc/resolv.conf can go unnoticed ...
10 years, 10 months ago (2010-01-29 01:21:38 UTC) #2
Peter Valchev
http://codereview.chromium.org/556068/diff/1/9 File net/base/host_resolver_proc.cc (right): http://codereview.chromium.org/556068/diff/1/9#newcode81 net/base/host_resolver_proc.cc:81: // On Linux changes to /etc/resolv.conf can go unnoticed ...
10 years, 10 months ago (2010-01-29 02:06:55 UTC) #3
Evan Martin
http://codereview.chromium.org/556068/diff/1/9 File net/base/host_resolver_proc.cc (right): http://codereview.chromium.org/556068/diff/1/9#newcode209 net/base/host_resolver_proc.cc:209: #if defined(OS_LINUX) || defined(OS_FREEBSD) On 2010/01/29 02:06:55, Peter Valchev ...
10 years, 10 months ago (2010-01-29 02:14:02 UTC) #4
Evan Martin
10 years, 10 months ago (2010-01-29 02:14:04 UTC) #5
Peter Valchev
On 2010/01/29 02:14:02, Evan Martin wrote: > http://codereview.chromium.org/556068/diff/1/9 > File net/base/host_resolver_proc.cc (right): > > http://codereview.chromium.org/556068/diff/1/9#newcode209 ...
10 years, 10 months ago (2010-01-29 02:27:14 UTC) #6
Evan Martin
LGTM, let me know when you commit it and I'll file a bug about the ...
10 years, 10 months ago (2010-01-29 02:38:09 UTC) #7
Peter Valchev
On 2010/01/29 02:38:09, Evan Martin wrote: > LGTM, let me know when you commit it ...
10 years, 10 months ago (2010-01-29 03:36:59 UTC) #8
Evan Martin
OK, filed http://code.google.com/p/chromium/issues/detail?id=33481
10 years, 10 months ago (2010-01-29 07:22:52 UTC) #9
wtc
LGTM. Sorry about the delay. http://codereview.chromium.org/556068/diff/16/18 File net/socket/client_socket.h (right): http://codereview.chromium.org/556068/diff/16/18#newcode12 net/socket/client_socket.h:12: #include <sys/types.h> <sys/types.h> should ...
10 years, 10 months ago (2010-01-30 00:09:16 UTC) #10
Peter Valchev
10 years, 10 months ago (2010-02-01 19:12:18 UTC) #11
http://codereview.chromium.org/556068/diff/16/18
File net/socket/client_socket.h (right):

http://codereview.chromium.org/556068/diff/16/18#newcode12
net/socket/client_socket.h:12: #include <sys/types.h>
On 2010/01/30 00:09:16, wtc wrote:
> <sys/types.h> should not need to be included for
> <sys/socket.h> in new Unix systems:
> 
> http://www.opengroup.org/onlinepubs/009695399/functions/socket.html
> 
> But I know <sys/types.h> used to be required.

It is still required both on OpenBSD and FreeBSD:

http://www.openbsd.org/cgi-bin/man.cgi?query=socket&apropos=0&sektion=0&manpa...

http://www.freebsd.org/cgi/man.cgi?query=socket&apropos=0&sektion=0&manpath=F...

Powered by Google App Engine
This is Rietveld 408576698