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

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

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « net/tools/flip_server/acceptor_thread.h ('k') | net/tools/flip_server/http_interface.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <errno.h> 5 #include <errno.h>
6 #include <signal.h> 6 #include <signal.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <sys/file.h> 8 #include <sys/file.h>
9 #include <sys/stat.h> 9 #include <sys/stat.h>
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "base/timer/timer.h"
18 #include "net/tools/balsa/split.h" 17 #include "net/tools/balsa/split.h"
19 #include "net/tools/flip_server/acceptor_thread.h" 18 #include "net/tools/flip_server/acceptor_thread.h"
20 #include "net/tools/flip_server/constants.h" 19 #include "net/tools/flip_server/constants.h"
21 #include "net/tools/flip_server/flip_config.h" 20 #include "net/tools/flip_server/flip_config.h"
22 #include "net/tools/flip_server/output_ordering.h" 21 #include "net/tools/flip_server/output_ordering.h"
23 #include "net/tools/flip_server/sm_connection.h" 22 #include "net/tools/flip_server/sm_connection.h"
24 #include "net/tools/flip_server/sm_interface.h" 23 #include "net/tools/flip_server/sm_interface.h"
25 #include "net/tools/flip_server/spdy_interface.h" 24 #include "net/tools/flip_server/spdy_interface.h"
26 #include "net/tools/flip_server/streamer_interface.h" 25 #include "net/tools/flip_server/streamer_interface.h"
27 26
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 } 412 }
414 break; 413 break;
415 } 414 }
416 usleep(1000 * 10); // 10 ms 415 usleep(1000 * 10); // 10 ms
417 } 416 }
418 417
419 unlink(PIDFILE); 418 unlink(PIDFILE);
420 close(pidfile_fd); 419 close(pidfile_fd);
421 return 0; 420 return 0;
422 } 421 }
OLDNEW
« no previous file with comments | « net/tools/flip_server/acceptor_thread.h ('k') | net/tools/flip_server/http_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698