Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: net/tools/quic/test_tools/quic_server_peer.h

Issue 1811043002: Landing Recent QUIC changes until 2016-03-15 16:26 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an export clause. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_SERVER_PEER_H_ 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_
6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_ 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 12
13 class QuicDispatcher; 13 class QuicDispatcher;
14 class QuicServer; 14 class QuicServer;
15 class QuicPacketReader; 15 class QuicPacketReader;
16 16
17 namespace test { 17 namespace test {
18 18
19 class QuicServerPeer { 19 class QuicServerPeer {
20 public: 20 public:
21 static bool SetSmallSocket(QuicServer* server); 21 static bool SetSmallSocket(QuicServer* server);
22 static void DisableRecvmmsg(QuicServer* server);
23 static QuicDispatcher* GetDispatcher(QuicServer* server); 22 static QuicDispatcher* GetDispatcher(QuicServer* server);
24 static void SetReader(QuicServer* server, QuicPacketReader* reader); 23 static void SetReader(QuicServer* server, QuicPacketReader* reader);
25 24
26 private: 25 private:
27 DISALLOW_COPY_AND_ASSIGN(QuicServerPeer); 26 DISALLOW_COPY_AND_ASSIGN(QuicServerPeer);
28 }; 27 };
29 28
30 } // namespace test 29 } // namespace test
31 } // namespace net 30 } // namespace net
32 31
33 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_ 32 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream_test.cc ('k') | net/tools/quic/test_tools/quic_server_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698