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

Side by Side Diff: net/tools/quic/quic_client.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_client_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/quic_client.h" 5 #include "net/tools/quic/quic_client.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <netinet/in.h> 8 #include <netinet/in.h>
9 #include <string.h> 9 #include <string.h>
10 #include <sys/epoll.h> 10 #include <sys/epoll.h>
11 #include <sys/socket.h> 11 #include <sys/socket.h>
12 #include <unistd.h> 12 #include <unistd.h>
13 13
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/run_loop.h" 15 #include "base/run_loop.h"
16 #include "net/base/sockaddr_storage.h" 16 #include "net/base/sockaddr_storage.h"
17 #include "net/quic/crypto/quic_random.h" 17 #include "net/quic/core/crypto/quic_random.h"
18 #include "net/quic/quic_bug_tracker.h" 18 #include "net/quic/core/quic_bug_tracker.h"
19 #include "net/quic/quic_connection.h" 19 #include "net/quic/core/quic_connection.h"
20 #include "net/quic/quic_data_reader.h" 20 #include "net/quic/core/quic_data_reader.h"
21 #include "net/quic/quic_flags.h" 21 #include "net/quic/core/quic_flags.h"
22 #include "net/quic/quic_protocol.h" 22 #include "net/quic/core/quic_protocol.h"
23 #include "net/quic/quic_server_id.h" 23 #include "net/quic/core/quic_server_id.h"
24 #include "net/tools/quic/quic_epoll_alarm_factory.h" 24 #include "net/tools/quic/quic_epoll_alarm_factory.h"
25 #include "net/tools/quic/quic_epoll_connection_helper.h" 25 #include "net/tools/quic/quic_epoll_connection_helper.h"
26 #include "net/tools/quic/quic_socket_utils.h" 26 #include "net/tools/quic/quic_socket_utils.h"
27 #include "net/tools/quic/spdy_balsa_utils.h" 27 #include "net/tools/quic/spdy_balsa_utils.h"
28 28
29 #ifndef SO_RXQ_OVFL 29 #ifndef SO_RXQ_OVFL
30 #define SO_RXQ_OVFL 40 30 #define SO_RXQ_OVFL 40
31 #endif 31 #endif
32 32
33 // TODO(rtenneti): Add support for MMSG_MORE. 33 // TODO(rtenneti): Add support for MMSG_MORE.
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 return fd_address_map_.back().first; 498 return fd_address_map_.back().first;
499 } 499 }
500 500
501 void QuicClient::ProcessPacket(const IPEndPoint& self_address, 501 void QuicClient::ProcessPacket(const IPEndPoint& self_address,
502 const IPEndPoint& peer_address, 502 const IPEndPoint& peer_address,
503 const QuicReceivedPacket& packet) { 503 const QuicReceivedPacket& packet) {
504 session()->connection()->ProcessUdpPacket(self_address, peer_address, packet); 504 session()->connection()->ProcessUdpPacket(self_address, peer_address, packet);
505 } 505 }
506 506
507 } // namespace net 507 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_client_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698