OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <dirent.h> | 5 #include <dirent.h> |
6 #include <netinet/tcp.h> // For TCP_NODELAY | 6 #include <netinet/tcp.h> // For TCP_NODELAY |
7 #include <sys/socket.h> | 7 #include <sys/socket.h> |
8 #include <sys/types.h> | 8 #include <sys/types.h> |
9 #include <unistd.h> | 9 #include <unistd.h> |
10 #include <openssl/err.h> | 10 #include <openssl/err.h> |
11 #include <openssl/ssl.h> | 11 #include <openssl/ssl.h> |
12 #include <signal.h> | 12 #include <signal.h> |
13 | 13 |
14 #include <deque> | 14 #include <deque> |
15 #include <iostream> | 15 #include <iostream> |
16 #include <limits> | 16 #include <limits> |
17 #include <vector> | 17 #include <vector> |
18 #include <list> | 18 #include <list> |
19 | 19 |
20 #include "base/command_line.h" | 20 #include "base/command_line.h" |
21 #include "base/logging.h" | 21 #include "base/logging.h" |
22 #include "base/simple_thread.h" | 22 #include "base/threading/simple_thread.h" |
23 #include "base/timer.h" | 23 #include "base/timer.h" |
24 #include "base/lock.h" | 24 #include "base/lock.h" |
25 #include "net/spdy/spdy_frame_builder.h" | 25 #include "net/spdy/spdy_frame_builder.h" |
26 #include "net/spdy/spdy_framer.h" | 26 #include "net/spdy/spdy_framer.h" |
27 #include "net/spdy/spdy_protocol.h" | 27 #include "net/spdy/spdy_protocol.h" |
28 #include "net/tools/dump_cache/url_to_filename_encoder.h" | 28 #include "net/tools/dump_cache/url_to_filename_encoder.h" |
29 #include "net/tools/dump_cache/url_utilities.h" | 29 #include "net/tools/dump_cache/url_utilities.h" |
30 #include "net/tools/flip_server/balsa_enums.h" | 30 #include "net/tools/flip_server/balsa_enums.h" |
31 #include "net/tools/flip_server/balsa_frame.h" | 31 #include "net/tools/flip_server/balsa_frame.h" |
32 #include "net/tools/flip_server/balsa_headers.h" | 32 #include "net/tools/flip_server/balsa_headers.h" |
(...skipping 3136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3169 for (unsigned int i = 0; i < sm_worker_threads_.size(); ++i) { | 3169 for (unsigned int i = 0; i < sm_worker_threads_.size(); ++i) { |
3170 sm_worker_threads_[i]->Join(); | 3170 sm_worker_threads_[i]->Join(); |
3171 } | 3171 } |
3172 return 0; | 3172 return 0; |
3173 } | 3173 } |
3174 usleep(1000*10); // 10 ms | 3174 usleep(1000*10); // 10 ms |
3175 } | 3175 } |
3176 | 3176 |
3177 return 0; | 3177 return 0; |
3178 } | 3178 } |
OLD | NEW |