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 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/bind.h" | 11 #include "base/bind.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "base/location.h" | 13 #include "base/location.h" |
15 #include "base/logging.h" | 14 #include "base/logging.h" |
16 #include "base/metrics/field_trial.h" | 15 #include "base/metrics/field_trial.h" |
17 #include "base/metrics/histogram_macros.h" | 16 #include "base/metrics/histogram_macros.h" |
18 #include "base/metrics/sparse_histogram.h" | 17 #include "base/metrics/sparse_histogram.h" |
19 #include "base/profiler/scoped_tracker.h" | 18 #include "base/profiler/scoped_tracker.h" |
20 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
21 #include "base/stl_util.h" | 20 #include "base/stl_util.h" |
(...skipping 3310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3332 if (!queue->empty()) { | 3331 if (!queue->empty()) { |
3333 SpdyStreamId stream_id = queue->front(); | 3332 SpdyStreamId stream_id = queue->front(); |
3334 queue->pop_front(); | 3333 queue->pop_front(); |
3335 return stream_id; | 3334 return stream_id; |
3336 } | 3335 } |
3337 } | 3336 } |
3338 return 0; | 3337 return 0; |
3339 } | 3338 } |
3340 | 3339 |
3341 } // namespace net | 3340 } // namespace net |
OLD | NEW |