OLD | NEW |
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/base/ssl_info.h" | 5 #include "net/ssl/ssl_info.h" |
6 | 6 |
7 #include "net/base/cert_status_flags.h" | 7 #include "net/base/cert_status_flags.h" |
8 #include "net/base/x509_certificate.h" | 8 #include "net/base/x509_certificate.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 | 11 |
12 SSLInfo::SSLInfo() { | 12 SSLInfo::SSLInfo() { |
13 Reset(); | 13 Reset(); |
14 } | 14 } |
15 | 15 |
(...skipping 29 matching lines...) Expand all Loading... |
45 handshake_type = HANDSHAKE_UNKNOWN; | 45 handshake_type = HANDSHAKE_UNKNOWN; |
46 | 46 |
47 public_key_hashes.clear(); | 47 public_key_hashes.clear(); |
48 } | 48 } |
49 | 49 |
50 void SSLInfo::SetCertError(int error) { | 50 void SSLInfo::SetCertError(int error) { |
51 cert_status |= MapNetErrorToCertStatus(error); | 51 cert_status |= MapNetErrorToCertStatus(error); |
52 } | 52 } |
53 | 53 |
54 } // namespace net | 54 } // namespace net |
OLD | NEW |