OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_ | 5 #ifndef NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_ |
6 #define NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_ | 6 #define NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> |
11 | 12 |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
15 #include "net/socket/next_proto.h" | 16 #include "net/socket/next_proto.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class Timer; | 19 class Timer; |
19 } // namespace base | 20 } // namespace base |
20 | 21 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // not associated with any stream, and are not included in this value. | 154 // not associated with any stream, and are not included in this value. |
154 virtual int64_t GetTotalSentBytes() const = 0; | 155 virtual int64_t GetTotalSentBytes() const = 0; |
155 | 156 |
156 private: | 157 private: |
157 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamImpl); | 158 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamImpl); |
158 }; | 159 }; |
159 | 160 |
160 } // namespace net | 161 } // namespace net |
161 | 162 |
162 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_ | 163 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_ |
OLD | NEW |