Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ | 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ |
| 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ | 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ |
| 7 | 7 |
| 8 #include "net/tools/quic/quic_dispatcher.h" | 8 #include "net/tools/quic/quic_dispatcher.h" |
| 9 | 9 |
| 10 #include "net/base/ip_endpoint.h" | 10 #include "net/base/ip_endpoint.h" |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 29 static QuicPacketWriter* GetWriter(QuicDispatcher* dispatcher); | 29 static QuicPacketWriter* GetWriter(QuicDispatcher* dispatcher); |
| 30 | 30 |
| 31 static QuicEpollConnectionHelper* GetHelper(QuicDispatcher* dispatcher); | 31 static QuicEpollConnectionHelper* GetHelper(QuicDispatcher* dispatcher); |
| 32 | 32 |
| 33 static QuicConnection* CreateQuicConnection( | 33 static QuicConnection* CreateQuicConnection( |
| 34 QuicDispatcher* dispatcher, | 34 QuicDispatcher* dispatcher, |
| 35 QuicConnectionId connection_id, | 35 QuicConnectionId connection_id, |
| 36 const IPEndPoint& server, | 36 const IPEndPoint& server, |
| 37 const IPEndPoint& client); | 37 const IPEndPoint& client); |
| 38 | 38 |
| 39 static QuicDispatcher::WriteBlockedList* GetWriteBlockedList( | |
|
wtc
2014/06/27 17:08:01
We can further lock down insertions to QuicDispatc
ramant (doing other things)
2014/06/27 19:18:40
Acknowledged.
| |
| 40 QuicDispatcher* dispatcher); | |
| 41 | |
| 39 private: | 42 private: |
| 40 DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer); | 43 DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer); |
| 41 }; | 44 }; |
| 42 | 45 |
| 43 } // namespace test | 46 } // namespace test |
| 44 } // namespace tools | 47 } // namespace tools |
| 45 } // namespace net | 48 } // namespace net |
| 46 | 49 |
| 47 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ | 50 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ |
| OLD | NEW |