| 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "base/threading/thread_task_runner_handle.h" | 27 #include "base/threading/thread_task_runner_handle.h" |
| 28 #include "base/time/time.h" | 28 #include "base/time/time.h" |
| 29 #include "base/trace_event/trace_event.h" | 29 #include "base/trace_event/trace_event.h" |
| 30 #include "base/values.h" | 30 #include "base/values.h" |
| 31 #include "crypto/ec_private_key.h" | 31 #include "crypto/ec_private_key.h" |
| 32 #include "crypto/ec_signature_creator.h" | 32 #include "crypto/ec_signature_creator.h" |
| 33 #include "net/base/proxy_delegate.h" | 33 #include "net/base/proxy_delegate.h" |
| 34 #include "net/cert/asn1_util.h" | 34 #include "net/cert/asn1_util.h" |
| 35 #include "net/cert/cert_verify_result.h" | 35 #include "net/cert/cert_verify_result.h" |
| 36 #include "net/cert/ct_policy_status.h" | 36 #include "net/cert/ct_policy_status.h" |
| 37 #include "net/http/http_log_util.h" | |
| 38 #include "net/http/http_network_session.h" | 37 #include "net/http/http_network_session.h" |
| 39 #include "net/http/http_server_properties.h" | 38 #include "net/http/http_server_properties.h" |
| 40 #include "net/http/http_util.h" | 39 #include "net/http/http_util.h" |
| 41 #include "net/http/transport_security_state.h" | 40 #include "net/http/transport_security_state.h" |
| 42 #include "net/log/net_log.h" | 41 #include "net/log/net_log.h" |
| 43 #include "net/log/net_log_capture_mode.h" | 42 #include "net/log/net_log_capture_mode.h" |
| 44 #include "net/log/net_log_event_type.h" | 43 #include "net/log/net_log_event_type.h" |
| 45 #include "net/log/net_log_source.h" | 44 #include "net/log/net_log_source.h" |
| 46 #include "net/log/net_log_source_type.h" | 45 #include "net/log/net_log_source_type.h" |
| 47 #include "net/log/net_log_with_source.h" | 46 #include "net/log/net_log_with_source.h" |
| 48 #include "net/proxy/proxy_server.h" | 47 #include "net/proxy/proxy_server.h" |
| 49 #include "net/socket/socket.h" | 48 #include "net/socket/socket.h" |
| 50 #include "net/socket/ssl_client_socket.h" | 49 #include "net/socket/ssl_client_socket.h" |
| 51 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" | 50 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" |
| 52 #include "net/spdy/spdy_buffer_producer.h" | 51 #include "net/spdy/spdy_buffer_producer.h" |
| 53 #include "net/spdy/spdy_frame_builder.h" | 52 #include "net/spdy/spdy_frame_builder.h" |
| 54 #include "net/spdy/spdy_http_utils.h" | 53 #include "net/spdy/spdy_http_utils.h" |
| 54 #include "net/spdy/spdy_log_util.h" |
| 55 #include "net/spdy/spdy_protocol.h" | 55 #include "net/spdy/spdy_protocol.h" |
| 56 #include "net/spdy/spdy_session_pool.h" | 56 #include "net/spdy/spdy_session_pool.h" |
| 57 #include "net/spdy/spdy_stream.h" | 57 #include "net/spdy/spdy_stream.h" |
| 58 #include "net/ssl/channel_id_service.h" | 58 #include "net/ssl/channel_id_service.h" |
| 59 #include "net/ssl/ssl_cipher_suite_names.h" | 59 #include "net/ssl/ssl_cipher_suite_names.h" |
| 60 #include "net/ssl/ssl_connection_status_flags.h" | 60 #include "net/ssl/ssl_connection_status_flags.h" |
| 61 | 61 |
| 62 namespace net { | 62 namespace net { |
| 63 | 63 |
| 64 namespace { | 64 namespace { |
| (...skipping 3128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3193 if (!queue->empty()) { | 3193 if (!queue->empty()) { |
| 3194 SpdyStreamId stream_id = queue->front(); | 3194 SpdyStreamId stream_id = queue->front(); |
| 3195 queue->pop_front(); | 3195 queue->pop_front(); |
| 3196 return stream_id; | 3196 return stream_id; |
| 3197 } | 3197 } |
| 3198 } | 3198 } |
| 3199 return 0; | 3199 return 0; |
| 3200 } | 3200 } |
| 3201 | 3201 |
| 3202 } // namespace net | 3202 } // namespace net |
| OLD | NEW |