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/spdy/spdy_session.h" | 5 #include "net/spdy/spdy_session.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "base/metrics/field_trial.h" | 14 #include "base/metrics/field_trial.h" |
15 #include "base/metrics/histogram.h" | 15 #include "base/metrics/histogram.h" |
16 #include "base/metrics/stats_counters.h" | 16 #include "base/metrics/stats_counters.h" |
17 #include "base/stl_util.h" | 17 #include "base/stl_util.h" |
18 #include "base/string_number_conversions.h" | 18 #include "base/string_number_conversions.h" |
19 #include "base/string_util.h" | 19 #include "base/string_util.h" |
20 #include "base/stringprintf.h" | 20 #include "base/stringprintf.h" |
21 #include "base/time.h" | 21 #include "base/time.h" |
22 #include "base/utf_string_conversions.h" | 22 #include "base/utf_string_conversions.h" |
23 #include "base/values.h" | 23 #include "base/values.h" |
24 #include "crypto/ec_private_key.h" | 24 #include "crypto/ec_private_key.h" |
25 #include "crypto/ec_signature_creator.h" | 25 #include "crypto/ec_signature_creator.h" |
26 #include "crypto/signature_creator.h" | |
27 #include "net/base/asn1_util.h" | 26 #include "net/base/asn1_util.h" |
28 #include "net/base/connection_type_histograms.h" | 27 #include "net/base/connection_type_histograms.h" |
29 #include "net/base/net_log.h" | 28 #include "net/base/net_log.h" |
30 #include "net/base/net_util.h" | 29 #include "net/base/net_util.h" |
31 #include "net/base/server_bound_cert_service.h" | 30 #include "net/base/server_bound_cert_service.h" |
32 #include "net/http/http_network_session.h" | 31 #include "net/http/http_network_session.h" |
33 #include "net/http/http_server_properties.h" | 32 #include "net/http/http_server_properties.h" |
34 #include "net/spdy/spdy_credential_builder.h" | 33 #include "net/spdy/spdy_credential_builder.h" |
35 #include "net/spdy/spdy_frame_builder.h" | 34 #include "net/spdy/spdy_frame_builder.h" |
36 #include "net/spdy/spdy_http_utils.h" | 35 #include "net/spdy/spdy_http_utils.h" |
(...skipping 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1991 SSLClientSocket* SpdySession::GetSSLClientSocket() const { | 1990 SSLClientSocket* SpdySession::GetSSLClientSocket() const { |
1992 if (!is_secure_) | 1991 if (!is_secure_) |
1993 return NULL; | 1992 return NULL; |
1994 SSLClientSocket* ssl_socket = | 1993 SSLClientSocket* ssl_socket = |
1995 reinterpret_cast<SSLClientSocket*>(connection_->socket()); | 1994 reinterpret_cast<SSLClientSocket*>(connection_->socket()); |
1996 DCHECK(ssl_socket); | 1995 DCHECK(ssl_socket); |
1997 return ssl_socket; | 1996 return ssl_socket; |
1998 } | 1997 } |
1999 | 1998 |
2000 } // namespace net | 1999 } // namespace net |
OLD | NEW |