| 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/x509_certificate.h" | 13 #include "net/cert/x509_certificate.h" |
| 14 #include "net/http/http_response_headers.h" | 14 #include "net/http/http_response_headers.h" |
| 15 #include "net/ssl/ssl_cert_request_info.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) { |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 pickle->WriteUInt16(socket_address.port()); | 308 pickle->WriteUInt16(socket_address.port()); |
| 309 | 309 |
| 310 if (was_npn_negotiated) | 310 if (was_npn_negotiated) |
| 311 pickle->WriteString(npn_negotiated_protocol); | 311 pickle->WriteString(npn_negotiated_protocol); |
| 312 | 312 |
| 313 if (connection_info != CONNECTION_INFO_UNKNOWN) | 313 if (connection_info != CONNECTION_INFO_UNKNOWN) |
| 314 pickle->WriteInt(static_cast<int>(connection_info)); | 314 pickle->WriteInt(static_cast<int>(connection_info)); |
| 315 } | 315 } |
| 316 | 316 |
| 317 } // namespace net | 317 } // namespace net |
| OLD | NEW |