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

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

Issue 183683025: CL generated with data from dead-code analysis using Scythe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/quic/test_tools/quic_server_peer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "net/tools/quic/test_tools/quic_server_peer.h" 5 #include "net/tools/quic/test_tools/quic_server_peer.h"
6 6
7 #include "net/tools/quic/quic_dispatcher.h" 7 #include "net/tools/quic/quic_dispatcher.h"
8 #include "net/tools/quic/quic_server.h" 8 #include "net/tools/quic/quic_server.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 10 matching lines...) Expand all
21 // static 21 // static
22 void QuicServerPeer::DisableRecvmmsg(QuicServer* server) { 22 void QuicServerPeer::DisableRecvmmsg(QuicServer* server) {
23 server->use_recvmmsg_ = false; 23 server->use_recvmmsg_ = false;
24 } 24 }
25 25
26 // static 26 // static
27 QuicDispatcher* QuicServerPeer::GetDispatcher(QuicServer* server) { 27 QuicDispatcher* QuicServerPeer::GetDispatcher(QuicServer* server) {
28 return server->dispatcher_.get(); 28 return server->dispatcher_.get();
29 } 29 }
30 30
31 // static
32 int QuicServerPeer::GetFD(QuicServer* server) {
33 return server->fd_;
34 }
35
36 } // namespace test 31 } // namespace test
37 } // namespace tools 32 } // namespace tools
38 } // namespace net 33 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_server_peer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698