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

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

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu 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_simple_server.cc ('k') | net/tools/quic/quic_simple_server_session_test.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 specific QuicSession subclass. 5 // A toy server specific QuicSession subclass.
6 6
7 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_ 7 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_
8 #define NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_ 8 #define NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 #include <deque> 12 #include <deque>
13 #include <list> 13 #include <list>
14 #include <memory>
14 #include <set> 15 #include <set>
15 #include <string> 16 #include <string>
16 #include <vector> 17 #include <vector>
17 18
18 #include "base/containers/hash_tables.h" 19 #include "base/containers/hash_tables.h"
19 #include "base/macros.h" 20 #include "base/macros.h"
20 #include "base/memory/scoped_ptr.h"
21 #include "net/quic/quic_crypto_server_stream.h" 21 #include "net/quic/quic_crypto_server_stream.h"
22 #include "net/quic/quic_protocol.h" 22 #include "net/quic/quic_protocol.h"
23 #include "net/quic/quic_spdy_session.h" 23 #include "net/quic/quic_spdy_session.h"
24 #include "net/tools/quic/quic_in_memory_cache.h" 24 #include "net/tools/quic/quic_in_memory_cache.h"
25 #include "net/tools/quic/quic_server_session_base.h" 25 #include "net/tools/quic/quic_server_session_base.h"
26 #include "net/tools/quic/quic_simple_server_stream.h" 26 #include "net/tools/quic/quic_simple_server_stream.h"
27 27
28 namespace net { 28 namespace net {
29 29
30 class QuicBlockedWriterInterface; 30 class QuicBlockedWriterInterface;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // stream_id is always next_outgoing_stream_id_, and the last one is always 147 // stream_id is always next_outgoing_stream_id_, and the last one is always
148 // highest_promised_stream_id_. 148 // highest_promised_stream_id_.
149 std::deque<PromisedStreamInfo> promised_streams_; 149 std::deque<PromisedStreamInfo> promised_streams_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerSession); 151 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerSession);
152 }; 152 };
153 153
154 } // namespace net 154 } // namespace net
155 155
156 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_ 156 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_server.cc ('k') | net/tools/quic/quic_simple_server_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698