OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef NET_SPDY_SPDY_WRITE_QUEUE_H_ | 5 #ifndef NET_SPDY_SPDY_WRITE_QUEUE_H_ |
6 #define NET_SPDY_SPDY_WRITE_QUEUE_H_ | 6 #define NET_SPDY_SPDY_WRITE_QUEUE_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
14 #include "net/base/request_priority.h" | 14 #include "net/base/request_priority.h" |
15 #include "net/spdy/spdy_protocol.h" | 15 #include "net/spdy/spdy_protocol.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 class SpdyBuffer; | 19 class SpdyBuffer; |
20 class SpdyBufferProducer; | 20 class SpdyBufferProducer; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 // The actual write queue, binned by priority. | 83 // The actual write queue, binned by priority. |
84 std::deque<PendingWrite> queue_[NUM_PRIORITIES]; | 84 std::deque<PendingWrite> queue_[NUM_PRIORITIES]; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(SpdyWriteQueue); | 86 DISALLOW_COPY_AND_ASSIGN(SpdyWriteQueue); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace net | 89 } // namespace net |
90 | 90 |
91 #endif // NET_SPDY_SPDY_WRITE_QUEUE_H_ | 91 #endif // NET_SPDY_SPDY_WRITE_QUEUE_H_ |
OLD | NEW |