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

Side by Side Diff: net/base/dns_util.h

Issue 6041004: net: perform a non-A DNS lookup for HTTPS hosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing UMA_ Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_BASE_DNS_UTIL_H_ 5 #ifndef NET_BASE_DNS_UTIL_H_
6 #define NET_BASE_DNS_UTIL_H_ 6 #define NET_BASE_DNS_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 18 matching lines...) Expand all
29 // DNS resource record types. See 29 // DNS resource record types. See
30 // http://www.iana.org/assignments/dns-parameters 30 // http://www.iana.org/assignments/dns-parameters
31 31
32 static const uint16 kDNS_CNAME = 5; 32 static const uint16 kDNS_CNAME = 5;
33 static const uint16 kDNS_TXT = 16; 33 static const uint16 kDNS_TXT = 16;
34 static const uint16 kDNS_CERT = 37; 34 static const uint16 kDNS_CERT = 37;
35 static const uint16 kDNS_DS = 43; 35 static const uint16 kDNS_DS = 43;
36 static const uint16 kDNS_RRSIG = 46; 36 static const uint16 kDNS_RRSIG = 46;
37 static const uint16 kDNS_DNSKEY = 48; 37 static const uint16 kDNS_DNSKEY = 48;
38 static const uint16 kDNS_ANY = 0xff; 38 static const uint16 kDNS_ANY = 0xff;
39 static const uint16 kDNS_CAA = 13172; // temporary, not IANA
39 static const uint16 kDNS_TESTING = 0xfffe; // in private use area. 40 static const uint16 kDNS_TESTING = 0xfffe; // in private use area.
40 41
41 // http://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml 42 // http://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
42 static const uint8 kDNSSEC_RSA_SHA1 = 5; 43 static const uint8 kDNSSEC_RSA_SHA1 = 5;
43 static const uint8 kDNSSEC_RSA_SHA1_NSEC3 = 7; 44 static const uint8 kDNSSEC_RSA_SHA1_NSEC3 = 7;
44 static const uint8 kDNSSEC_RSA_SHA256 = 8; 45 static const uint8 kDNSSEC_RSA_SHA256 = 8;
45 46
46 // RFC 4509 47 // RFC 4509
47 static const uint8 kDNSSEC_SHA1 = 1; 48 static const uint8 kDNSSEC_SHA1 = 1;
48 static const uint8 kDNSSEC_SHA256 = 2; 49 static const uint8 kDNSSEC_SHA256 = 2;
49 50
50 } // namespace net 51 } // namespace net
51 52
52 #endif // NET_BASE_DNS_UTIL_H_ 53 #endif // NET_BASE_DNS_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698