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

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

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 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_client.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 #include "net/tools/quic/quic_simple_server_session.h" 5 #include "net/tools/quic/quic_simple_server_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "net/quic/core/proto/cached_network_parameters.pb.h" 9 #include "net/quic/core/proto/cached_network_parameters.pb.h"
10 #include "net/quic/core/quic_connection.h" 10 #include "net/quic/core/quic_connection.h"
11 #include "net/quic/core/quic_flags.h" 11 #include "net/quic/platform/api/quic_flags.h"
12 #include "net/quic/platform/api/quic_logging.h" 12 #include "net/quic/platform/api/quic_logging.h"
13 #include "net/quic/platform/api/quic_ptr_util.h" 13 #include "net/quic/platform/api/quic_ptr_util.h"
14 #include "net/tools/quic/quic_simple_server_stream.h" 14 #include "net/tools/quic/quic_simple_server_stream.h"
15 15
16 using std::string; 16 using std::string;
17 17
18 namespace net { 18 namespace net {
19 19
20 QuicSimpleServerSession::QuicSimpleServerSession( 20 QuicSimpleServerSession::QuicSimpleServerSession(
21 const QuicConfig& config, 21 const QuicConfig& config,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 QUIC_DLOG(INFO) << "created server push stream " << promised_stream->id(); 201 QUIC_DLOG(INFO) << "created server push stream " << promised_stream->id();
202 202
203 SpdyHeaderBlock request_headers(std::move(promised_info.request_headers)); 203 SpdyHeaderBlock request_headers(std::move(promised_info.request_headers));
204 204
205 promised_streams_.pop_front(); 205 promised_streams_.pop_front();
206 promised_stream->PushResponse(std::move(request_headers)); 206 promised_stream->PushResponse(std::move(request_headers));
207 } 207 }
208 } 208 }
209 209
210 } // namespace net 210 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_client.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