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/http/http_response_info.h" | 5 #include "net/http/http_response_info.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/pickle.h" | 8 #include "base/pickle.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "net/base/auth.h" | 10 #include "net/base/auth.h" |
11 #include "net/base/io_buffer.h" | 11 #include "net/base/io_buffer.h" |
12 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
13 #include "net/base/ssl_cert_request_info.h" | |
14 #include "net/base/x509_certificate.h" | 13 #include "net/base/x509_certificate.h" |
15 #include "net/http/http_response_headers.h" | 14 #include "net/http/http_response_headers.h" |
| 15 #include "net/ssl/ssl_cert_request_info.h" |
16 | 16 |
17 using base::Time; | 17 using base::Time; |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
23 X509Certificate::PickleType GetPickleTypeForVersion(int version) { | 23 X509Certificate::PickleType GetPickleTypeForVersion(int version) { |
24 switch (version) { | 24 switch (version) { |
25 case 1: | 25 case 1: |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 pickle->WriteUInt16(socket_address.port()); | 305 pickle->WriteUInt16(socket_address.port()); |
306 | 306 |
307 if (was_npn_negotiated) | 307 if (was_npn_negotiated) |
308 pickle->WriteString(npn_negotiated_protocol); | 308 pickle->WriteString(npn_negotiated_protocol); |
309 | 309 |
310 if (connection_info != CONNECTION_INFO_UNKNOWN) | 310 if (connection_info != CONNECTION_INFO_UNKNOWN) |
311 pickle->WriteInt(static_cast<int>(connection_info)); | 311 pickle->WriteInt(static_cast<int>(connection_info)); |
312 } | 312 } |
313 | 313 |
314 } // namespace net | 314 } // namespace net |
OLD | NEW |