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

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

Issue 16256017: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merging with TOT Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_epoll_connection_helper_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_dispatcher.h" 5 #include "net/tools/quic/quic_dispatcher.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 QuicSession* QuicDispatcher::CreateQuicSession( 183 QuicSession* QuicDispatcher::CreateQuicSession(
184 QuicGuid guid, 184 QuicGuid guid,
185 const IPEndPoint& client_address, 185 const IPEndPoint& client_address,
186 int fd, 186 int fd,
187 EpollServer* epoll_server) { 187 EpollServer* epoll_server) {
188 QuicConnectionHelperInterface* helper = 188 QuicConnectionHelperInterface* helper =
189 new QuicEpollConnectionHelper(this, epoll_server); 189 new QuicEpollConnectionHelper(this, epoll_server);
190 QuicServerSession* session = new QuicServerSession( 190 QuicServerSession* session = new QuicServerSession(
191 config_, new QuicConnection(guid, client_address, helper, true), this); 191 config_, new QuicConnection(guid, client_address, helper, true), this);
192 session->Initialize(crypto_config_); 192 session->InitializeSession(crypto_config_);
193 return session; 193 return session;
194 } 194 }
195 195
196 } // namespace tools 196 } // namespace tools
197 } // namespace net 197 } // namespace net
198 198
199 199
OLDNEW
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_epoll_connection_helper_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698