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

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

Issue 6079009: Move some misc thread-related stuff from base to base/thread and into the bas... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/proxy/polling_proxy_config_service.cc ('k') | net/url_request/url_request_file_job.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) 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
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 }
OLDNEW
« no previous file with comments | « net/proxy/polling_proxy_config_service.cc ('k') | net/url_request/url_request_file_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698