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> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/metrics/histogram_macros.h" | 16 #include "base/metrics/histogram_macros.h" |
17 #include "base/metrics/sparse_histogram.h" | 17 #include "base/metrics/sparse_histogram.h" |
18 #include "base/profiler/scoped_tracker.h" | 18 #include "base/profiler/scoped_tracker.h" |
19 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
20 #include "base/stl_util.h" | 20 #include "base/stl_util.h" |
21 #include "base/strings/string_number_conversions.h" | 21 #include "base/strings/string_number_conversions.h" |
22 #include "base/strings/string_util.h" | 22 #include "base/strings/string_util.h" |
23 #include "base/strings/stringprintf.h" | 23 #include "base/strings/stringprintf.h" |
24 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
25 #include "base/thread_task_runner_handle.h" | 25 #include "base/threading/thread_task_runner_handle.h" |
26 #include "base/time/time.h" | 26 #include "base/time/time.h" |
27 #include "base/trace_event/trace_event.h" | 27 #include "base/trace_event/trace_event.h" |
28 #include "base/values.h" | 28 #include "base/values.h" |
29 #include "crypto/ec_private_key.h" | 29 #include "crypto/ec_private_key.h" |
30 #include "crypto/ec_signature_creator.h" | 30 #include "crypto/ec_signature_creator.h" |
31 #include "net/base/connection_type_histograms.h" | 31 #include "net/base/connection_type_histograms.h" |
32 #include "net/base/proxy_delegate.h" | 32 #include "net/base/proxy_delegate.h" |
33 #include "net/cert/asn1_util.h" | 33 #include "net/cert/asn1_util.h" |
34 #include "net/cert/cert_verify_result.h" | 34 #include "net/cert/cert_verify_result.h" |
35 #include "net/http/http_log_util.h" | 35 #include "net/http/http_log_util.h" |
(...skipping 3311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3347 if (!queue->empty()) { | 3347 if (!queue->empty()) { |
3348 SpdyStreamId stream_id = queue->front(); | 3348 SpdyStreamId stream_id = queue->front(); |
3349 queue->pop_front(); | 3349 queue->pop_front(); |
3350 return stream_id; | 3350 return stream_id; |
3351 } | 3351 } |
3352 } | 3352 } |
3353 return 0; | 3353 return 0; |
3354 } | 3354 } |
3355 | 3355 |
3356 } // namespace net | 3356 } // namespace net |
OLD | NEW |