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

Side by Side Diff: net/tools/quic/quic_server.h

Issue 1908723002: Cleanup: Migrate references from scoped_ptr to std::unique_ptr. scoped_ptr is now just an alias for… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119568788
Patch Set: Rebase Created 4 years, 8 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_in_memory_cache.h ('k') | net/tools/quic/quic_server.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 (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 // A toy server, which listens on a specified address for QUIC traffic and 5 // A toy server, which listens on a specified address for QUIC traffic and
6 // handles incoming responses. 6 // handles incoming responses.
7 // 7 //
8 // Note that this server is intended to verify correctness of the client and is 8 // Note that this server is intended to verify correctness of the client and is
9 // in no way expected to be performant. 9 // in no way expected to be performant.
10 10
11 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_H_ 11 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_H_
12 #define NET_TOOLS_QUIC_QUIC_SERVER_H_ 12 #define NET_TOOLS_QUIC_QUIC_SERVER_H_
13 13
14 #include <stddef.h> 14 #include <stddef.h>
15 15
16 #include <memory> 16 #include <memory>
17 17
18 #include <memory>
ramant (doing other things) 2016/04/21 21:03:30 overly nit: memory was already there.
Ryan Hamilton 2016/04/21 21:50:26 Done in Final. Thanks!
19
18 #include "base/macros.h" 20 #include "base/macros.h"
19 #include "net/base/ip_endpoint.h" 21 #include "net/base/ip_endpoint.h"
20 #include "net/quic/crypto/quic_crypto_server_config.h" 22 #include "net/quic/crypto/quic_crypto_server_config.h"
21 #include "net/quic/quic_chromium_connection_helper.h" 23 #include "net/quic/quic_chromium_connection_helper.h"
22 #include "net/quic/quic_config.h" 24 #include "net/quic/quic_config.h"
23 #include "net/quic/quic_framer.h" 25 #include "net/quic/quic_framer.h"
24 #include "net/tools/epoll_server/epoll_server.h" 26 #include "net/tools/epoll_server/epoll_server.h"
25 #include "net/tools/quic/quic_default_packet_writer.h" 27 #include "net/tools/quic/quic_default_packet_writer.h"
26 28
27 namespace net { 29 namespace net {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Point to a QuicPacketReader object on the heap. The reader allocates more 133 // Point to a QuicPacketReader object on the heap. The reader allocates more
132 // space than allowed on the stack. 134 // space than allowed on the stack.
133 std::unique_ptr<QuicPacketReader> packet_reader_; 135 std::unique_ptr<QuicPacketReader> packet_reader_;
134 136
135 DISALLOW_COPY_AND_ASSIGN(QuicServer); 137 DISALLOW_COPY_AND_ASSIGN(QuicServer);
136 }; 138 };
137 139
138 } // namespace net 140 } // namespace net
139 141
140 #endif // NET_TOOLS_QUIC_QUIC_SERVER_H_ 142 #endif // NET_TOOLS_QUIC_QUIC_SERVER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_in_memory_cache.h ('k') | net/tools/quic/quic_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698