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

Side by Side Diff: net/tools/flip_server/flip_in_mem_edsm_server.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) 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 <string.h>
8 #include <sys/file.h> 9 #include <sys/file.h>
9 #include <sys/stat.h> 10 #include <sys/stat.h>
10 11
11 #include <string> 12 #include <string>
12 #include <vector> 13 #include <vector>
13 14
14 #include "base/command_line.h" 15 #include "base/command_line.h"
15 #include "base/logging.h" 16 #include "base/logging.h"
16 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
17 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 } 401 }
401 break; 402 break;
402 } 403 }
403 usleep(1000 * 10); // 10 ms 404 usleep(1000 * 10); // 10 ms
404 } 405 }
405 406
406 unlink(PIDFILE); 407 unlink(PIDFILE);
407 close(pidfile_fd); 408 close(pidfile_fd);
408 return 0; 409 return 0;
409 } 410 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698