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

Side by Side Diff: net/tools/quic/test_tools/mock_quic_dispatcher.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_MOCK_QUIC_DISPATCHER_H_ 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_
6 #define NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_ 6 #define NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_
7 7
8 #include "net/base/ip_endpoint.h" 8 #include "net/base/ip_endpoint.h"
9 #include "net/quic/crypto/quic_crypto_server_config.h" 9 #include "net/quic/crypto/quic_crypto_server_config.h"
10 #include "net/quic/quic_config.h" 10 #include "net/quic/quic_config.h"
(...skipping 10 matching lines...) Expand all
21 public: 21 public:
22 MockQuicDispatcher(const QuicConfig& config, 22 MockQuicDispatcher(const QuicConfig& config,
23 const QuicCryptoServerConfig& crypto_config, 23 const QuicCryptoServerConfig& crypto_config,
24 EpollServer* eps); 24 EpollServer* eps);
25 25
26 virtual ~MockQuicDispatcher(); 26 virtual ~MockQuicDispatcher();
27 27
28 MOCK_METHOD3(ProcessPacket, void(const IPEndPoint& server_address, 28 MOCK_METHOD3(ProcessPacket, void(const IPEndPoint& server_address,
29 const IPEndPoint& client_address, 29 const IPEndPoint& client_address,
30 const QuicEncryptedPacket& packet)); 30 const QuicEncryptedPacket& packet));
31
32 private:
33 DISALLOW_COPY_AND_ASSIGN(MockQuicDispatcher);
31 }; 34 };
32 35
33 } // namespace test 36 } // namespace test
34 } // namespace tools 37 } // namespace tools
35 } // namespace net 38 } // namespace net
36 39
37 #endif // NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_ 40 #endif // NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/mock_epoll_server.h ('k') | net/tools/quic/test_tools/quic_client_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698