Windows should animate when they are about to get docked at screen edges.
[chromium-blink-merge.git] / net / tools / quic / test_tools / quic_client_peer.cc
blob858359474c8128732d0df8a6b18bfb2bca336272
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.
5 #include "net/tools/quic/test_tools/quic_client_peer.h"
7 #include "net/tools/quic/quic_client.h"
9 namespace net {
10 namespace tools {
11 namespace test {
13 // static
14 void QuicClientPeer::Reinitialize(QuicClient* client) {
15 client->initialized_ = false;
16 client->epoll_server_.UnregisterFD(client->fd_);
17 client->Initialize();
20 // static
21 int QuicClientPeer::GetFd(QuicClient* client) {
22 return client->fd_;
25 } // namespace test
26 } // namespace tools
27 } // namespace net