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_QUIC_P2P_QUIC_P2P_SESSION_H_ | 5 #ifndef NET_QUIC_P2P_QUIC_P2P_SESSION_H_ |
6 #define NET_QUIC_P2P_QUIC_P2P_SESSION_H_ | 6 #define NET_QUIC_P2P_QUIC_P2P_SESSION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
11 #include "net/quic/p2p/quic_p2p_stream.h" | 11 #include "net/quic/p2p/quic_p2p_stream.h" |
12 #include "net/quic/quic_client_session_base.h" | 12 #include "net/quic/quic_client_session_base.h" |
13 #include "net/quic/quic_protocol.h" | 13 #include "net/quic/quic_protocol.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 class QuicConfig; | 17 class QuicConfig; |
18 class QuicConnection; | 18 class QuicConnection; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 ReadState read_state_ = READ_STATE_DO_READ; | 81 ReadState read_state_ = READ_STATE_DO_READ; |
82 scoped_refptr<IOBuffer> read_buffer_; | 82 scoped_refptr<IOBuffer> read_buffer_; |
83 | 83 |
84 DISALLOW_COPY_AND_ASSIGN(QuicP2PSession); | 84 DISALLOW_COPY_AND_ASSIGN(QuicP2PSession); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace net | 87 } // namespace net |
88 | 88 |
89 #endif // NET_QUIC_P2P_QUIC_P2P_SESSION_H_ | 89 #endif // NET_QUIC_P2P_QUIC_P2P_SESSION_H_ |
OLD | NEW |