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

Side by Side Diff: net/tools/quic/quic_simple_server.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_simple_server.h ('k') | net/tools/quic/quic_simple_server_bin.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_simple_server.h" 5 #include "net/tools/quic/quic_simple_server.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "net/base/ip_endpoint.h" 12 #include "net/base/ip_endpoint.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/quic/crypto/crypto_handshake.h" 14 #include "net/quic/core/crypto/crypto_handshake.h"
15 #include "net/quic/crypto/quic_random.h" 15 #include "net/quic/core/crypto/quic_random.h"
16 #include "net/quic/quic_crypto_stream.h" 16 #include "net/quic/core/quic_crypto_stream.h"
17 #include "net/quic/quic_data_reader.h" 17 #include "net/quic/core/quic_data_reader.h"
18 #include "net/quic/quic_protocol.h" 18 #include "net/quic/core/quic_protocol.h"
19 #include "net/tools/quic/quic_dispatcher.h" 19 #include "net/tools/quic/quic_dispatcher.h"
20 #include "net/tools/quic/quic_simple_per_connection_packet_writer.h" 20 #include "net/tools/quic/quic_simple_per_connection_packet_writer.h"
21 #include "net/tools/quic/quic_simple_server_packet_writer.h" 21 #include "net/tools/quic/quic_simple_server_packet_writer.h"
22 #include "net/tools/quic/quic_simple_server_session_helper.h" 22 #include "net/tools/quic/quic_simple_server_session_helper.h"
23 #include "net/udp/udp_server_socket.h" 23 #include "net/udp/udp_server_socket.h"
24 24
25 namespace net { 25 namespace net {
26 26
27 namespace { 27 namespace {
28 28
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 } 212 }
213 213
214 QuicReceivedPacket packet(read_buffer_->data(), result, 214 QuicReceivedPacket packet(read_buffer_->data(), result,
215 helper_->GetClock()->Now(), false); 215 helper_->GetClock()->Now(), false);
216 dispatcher_->ProcessPacket(server_address_, client_address_, packet); 216 dispatcher_->ProcessPacket(server_address_, client_address_, packet);
217 217
218 StartReading(); 218 StartReading();
219 } 219 }
220 220
221 } // namespace net 221 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_server.h ('k') | net/tools/quic/quic_simple_server_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698