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

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

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
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_server.h" 5 #include "net/tools/quic/quic_server.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <features.h> 8 #include <features.h>
9 #include <netinet/in.h> 9 #include <netinet/in.h>
10 #include <string.h> 10 #include <string.h>
11 #include <sys/epoll.h> 11 #include <sys/epoll.h>
12 #include <sys/socket.h> 12 #include <sys/socket.h>
13 13
14 #include <memory>
15
14 #include "net/base/ip_endpoint.h" 16 #include "net/base/ip_endpoint.h"
15 #include "net/base/sockaddr_storage.h" 17 #include "net/base/sockaddr_storage.h"
16 #include "net/quic/crypto/crypto_handshake.h" 18 #include "net/quic/crypto/crypto_handshake.h"
17 #include "net/quic/crypto/quic_random.h" 19 #include "net/quic/crypto/quic_random.h"
18 #include "net/quic/quic_clock.h" 20 #include "net/quic/quic_clock.h"
19 #include "net/quic/quic_crypto_stream.h" 21 #include "net/quic/quic_crypto_stream.h"
20 #include "net/quic/quic_data_reader.h" 22 #include "net/quic/quic_data_reader.h"
21 #include "net/quic/quic_protocol.h" 23 #include "net/quic/quic_protocol.h"
22 #include "net/tools/quic/quic_dispatcher.h" 24 #include "net/tools/quic/quic_dispatcher.h"
23 #include "net/tools/quic/quic_epoll_clock.h" 25 #include "net/tools/quic/quic_epoll_clock.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 dispatcher_->OnCanWrite(); 179 dispatcher_->OnCanWrite();
178 if (dispatcher_->HasPendingWrites()) { 180 if (dispatcher_->HasPendingWrites()) {
179 event->out_ready_mask |= EPOLLOUT; 181 event->out_ready_mask |= EPOLLOUT;
180 } 182 }
181 } 183 }
182 if (event->in_events & EPOLLERR) { 184 if (event->in_events & EPOLLERR) {
183 } 185 }
184 } 186 }
185 187
186 } // namespace net 188 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698