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

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

Issue 242643009: Added DISALLOW_COPY_AND_ASSIGN to disable copy/assign. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merging with TOT and internal CL: 65311983 Created 6 years, 8 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 | Annotate | Revision Log
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/basictypes.h"
9
8 namespace net { 10 namespace net {
9 11
10 namespace tools { 12 namespace tools {
11 13
12 class QuicDispatcher; 14 class QuicDispatcher;
13 class QuicServer; 15 class QuicServer;
14 16
15 namespace test { 17 namespace test {
16 18
17 class QuicServerPeer { 19 class QuicServerPeer {
18 public: 20 public:
19 static bool SetSmallSocket(QuicServer* server); 21 static bool SetSmallSocket(QuicServer* server);
20 static void DisableRecvmmsg(QuicServer* server); 22 static void DisableRecvmmsg(QuicServer* server);
21 static QuicDispatcher* GetDispatcher(QuicServer* server); 23 static QuicDispatcher* GetDispatcher(QuicServer* server);
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(QuicServerPeer);
22 }; 27 };
23 28
24 } // namespace test 29 } // namespace test
25 } // namespace tools 30 } // namespace tools
26 } // namespace net 31 } // namespace net
27 32
28 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_ 33 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_SERVER_PEER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_dispatcher_peer.h ('k') | net/tools/quic/test_tools/quic_test_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698