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

Side by Side Diff: net/http/transport_security_state.cc

Issue 6362186595172352: net: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and revert nss_ocsp.cc changes Created 7 years, 5 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 | « net/http/proxy_client_socket.cc ('k') | net/http/url_security_manager_unittest.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "net/http/transport_security_state.h" 5 #include "net/http/transport_security_state.h"
6 6
7 #if defined(USE_OPENSSL) 7 #if defined(USE_OPENSSL)
8 #include <openssl/ecdsa.h> 8 #include <openssl/ecdsa.h>
9 #include <openssl/ssl.h> 9 #include <openssl/ssl.h>
10 #else // !defined(USE_OPENSSL) 10 #else // !defined(USE_OPENSSL)
(...skipping 11 matching lines...) Expand all
22 #include "base/logging.h" 22 #include "base/logging.h"
23 #include "base/memory/scoped_ptr.h" 23 #include "base/memory/scoped_ptr.h"
24 #include "base/metrics/histogram.h" 24 #include "base/metrics/histogram.h"
25 #include "base/sha1.h" 25 #include "base/sha1.h"
26 #include "base/strings/string_number_conversions.h" 26 #include "base/strings/string_number_conversions.h"
27 #include "base/strings/string_util.h" 27 #include "base/strings/string_util.h"
28 #include "base/strings/utf_string_conversions.h" 28 #include "base/strings/utf_string_conversions.h"
29 #include "base/time/time.h" 29 #include "base/time/time.h"
30 #include "base/values.h" 30 #include "base/values.h"
31 #include "crypto/sha2.h" 31 #include "crypto/sha2.h"
32 #include "googleurl/src/gurl.h"
33 #include "net/base/dns_util.h" 32 #include "net/base/dns_util.h"
34 #include "net/cert/x509_cert_types.h" 33 #include "net/cert/x509_cert_types.h"
35 #include "net/cert/x509_certificate.h" 34 #include "net/cert/x509_certificate.h"
36 #include "net/http/http_security_headers.h" 35 #include "net/http/http_security_headers.h"
37 #include "net/ssl/ssl_info.h" 36 #include "net/ssl/ssl_info.h"
37 #include "url/gurl.h"
38 38
39 #if defined(USE_OPENSSL) 39 #if defined(USE_OPENSSL)
40 #include "crypto/openssl_util.h" 40 #include "crypto/openssl_util.h"
41 #endif 41 #endif
42 42
43 namespace net { 43 namespace net {
44 44
45 namespace { 45 namespace {
46 46
47 std::string HashesToBase64String(const HashValueVector& hashes) { 47 std::string HashesToBase64String(const HashValueVector& hashes) {
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 return true; 885 return true;
886 } 886 }
887 887
888 bool TransportSecurityState::DomainState::HasPublicKeyPins() const { 888 bool TransportSecurityState::DomainState::HasPublicKeyPins() const {
889 return static_spki_hashes.size() > 0 || 889 return static_spki_hashes.size() > 0 ||
890 bad_static_spki_hashes.size() > 0 || 890 bad_static_spki_hashes.size() > 0 ||
891 dynamic_spki_hashes.size() > 0; 891 dynamic_spki_hashes.size() > 0;
892 } 892 }
893 893
894 } // namespace 894 } // namespace
OLDNEW
« no previous file with comments | « net/http/proxy_client_socket.cc ('k') | net/http/url_security_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698