| OLD | NEW |
| 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 Loading... |
| 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->InitializeSession(crypto_config_); | 192 session->Initialize(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 |
| OLD | NEW |