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

Side by Side Diff: net/tools/flip_server/acceptor_thread.cc

Issue 1427143003: include what you use: errno.h and string.h in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/flip_server/acceptor_thread.h" 5 #include "net/tools/flip_server/acceptor_thread.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <netinet/in.h> 8 #include <netinet/in.h>
9 #include <netinet/tcp.h> // For TCP_NODELAY 9 #include <netinet/tcp.h> // For TCP_NODELAY
10 #include <string.h> // For strerror
10 #include <sys/socket.h> 11 #include <sys/socket.h>
11 #include <sys/types.h> 12 #include <sys/types.h>
12 13
13 #include <string> 14 #include <string>
14 15
15 #include "net/tools/flip_server/constants.h" 16 #include "net/tools/flip_server/constants.h"
16 #include "net/tools/flip_server/flip_config.h" 17 #include "net/tools/flip_server/flip_config.h"
17 #include "net/tools/flip_server/sm_connection.h" 18 #include "net/tools/flip_server/sm_connection.h"
18 #include "net/tools/flip_server/spdy_ssl.h" 19 #include "net/tools/flip_server/spdy_ssl.h"
19 #include "openssl/err.h" 20 #include "openssl/err.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 AcceptFromListenFD(); 204 AcceptFromListenFD();
204 } 205 }
205 } 206 }
206 207
207 void SMAcceptorThread::SMConnectionDone(SMConnection* sc) { 208 void SMAcceptorThread::SMConnectionDone(SMConnection* sc) {
208 VLOG(1) << ACCEPTOR_CLIENT_IDENT << "Done with connection."; 209 VLOG(1) << ACCEPTOR_CLIENT_IDENT << "Done with connection.";
209 tmp_unused_server_connections_.push_back(sc); 210 tmp_unused_server_connections_.push_back(sc);
210 } 211 }
211 212
212 } // namespace net 213 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698