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 // The Google-specific helper for QuicConnection which uses | 5 // The Google-specific helper for QuicConnection which uses |
6 // EpollAlarm for alarms, and used an int fd_ for writing data. | 6 // EpollAlarm for alarms, and used an int fd_ for writing data. |
7 | 7 |
8 #ifndef NET_TOOLS_QUIC_QUIC_EPOLL_CONNECTION_HELPER_H_ | 8 #ifndef NET_TOOLS_QUIC_QUIC_EPOLL_CONNECTION_HELPER_H_ |
9 #define NET_TOOLS_QUIC_QUIC_EPOLL_CONNECTION_HELPER_H_ | 9 #define NET_TOOLS_QUIC_QUIC_EPOLL_CONNECTION_HELPER_H_ |
10 | 10 |
11 #include <sys/types.h> | 11 #include <sys/types.h> |
12 #include <set> | 12 #include <set> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "net/quic/quic_connection.h" | 15 #include "net/quic/core/quic_connection.h" |
16 #include "net/quic/quic_packet_writer.h" | 16 #include "net/quic/core/quic_packet_writer.h" |
17 #include "net/quic/quic_protocol.h" | 17 #include "net/quic/core/quic_protocol.h" |
18 #include "net/quic/quic_simple_buffer_allocator.h" | 18 #include "net/quic/core/quic_simple_buffer_allocator.h" |
19 #include "net/quic/quic_time.h" | 19 #include "net/quic/core/quic_time.h" |
20 #include "net/tools/quic/quic_default_packet_writer.h" | 20 #include "net/tools/quic/quic_default_packet_writer.h" |
21 #include "net/tools/quic/quic_epoll_clock.h" | 21 #include "net/tools/quic/quic_epoll_clock.h" |
22 | 22 |
23 namespace net { | 23 namespace net { |
24 | 24 |
25 class EpollServer; | 25 class EpollServer; |
26 class QuicRandom; | 26 class QuicRandom; |
27 | 27 |
28 using QuicStreamBufferAllocator = SimpleBufferAllocator; | 28 using QuicStreamBufferAllocator = SimpleBufferAllocator; |
29 | 29 |
(...skipping 19 matching lines...) Expand all Loading... |
49 QuicStreamBufferAllocator buffer_allocator_; | 49 QuicStreamBufferAllocator buffer_allocator_; |
50 SimpleBufferAllocator simple_buffer_allocator_; | 50 SimpleBufferAllocator simple_buffer_allocator_; |
51 QuicAllocator allocator_type_; | 51 QuicAllocator allocator_type_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(QuicEpollConnectionHelper); | 53 DISALLOW_COPY_AND_ASSIGN(QuicEpollConnectionHelper); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace net | 56 } // namespace net |
57 | 57 |
58 #endif // NET_TOOLS_QUIC_QUIC_EPOLL_CONNECTION_HELPER_H_ | 58 #endif // NET_TOOLS_QUIC_QUIC_EPOLL_CONNECTION_HELPER_H_ |
OLD | NEW |