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

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

Issue 15074007: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for windows Created 7 years, 7 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "net/tools/quic/test_tools/quic_client_peer.h"
6
7 #include "net/tools/quic/quic_client.h"
8
9 namespace net {
10 namespace tools {
11 namespace test {
12
13 // static
14 void QuicClientPeer::Reinitialize(QuicClient* client) {
15 client->initialized_ = false;
16 client->epoll_server_.UnregisterFD(client->fd_);
17 client->Initialize();
18 }
19
20 // static
21 int QuicClientPeer::GetFd(QuicClient* client) {
22 return client->fd_;
23 }
24
25 } // namespace test
26 } // namespace tools
27 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_client_peer.h ('k') | net/tools/quic/test_tools/quic_epoll_connection_helper_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698