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

Side by Side Diff: content/zygote/zygote_linux.cc

Issue 1417483018: include what you use: errno.h and string.h in content/ (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
« no previous file with comments | « content/gpu/gpu_watchdog_thread.cc ('k') | no next file » | 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) 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 "content/zygote/zygote_linux.h" 5 #include "content/zygote/zygote_linux.h"
6 6
7 #include <errno.h>
7 #include <fcntl.h> 8 #include <fcntl.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 #include <string.h> 10 #include <string.h>
10 #include <sys/socket.h> 11 #include <sys/socket.h>
11 #include <sys/types.h> 12 #include <sys/types.h>
12 #include <sys/wait.h> 13 #include <sys/wait.h>
13 14
14 #include "base/command_line.h" 15 #include "base/command_line.h"
15 #include "base/files/file_util.h" 16 #include "base/files/file_util.h"
16 #include "base/linux_util.h" 17 #include "base/linux_util.h"
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 bool Zygote::HandleGetSandboxStatus(int fd, base::PickleIterator iter) { 612 bool Zygote::HandleGetSandboxStatus(int fd, base::PickleIterator iter) {
612 if (HANDLE_EINTR(write(fd, &sandbox_flags_, sizeof(sandbox_flags_))) != 613 if (HANDLE_EINTR(write(fd, &sandbox_flags_, sizeof(sandbox_flags_))) !=
613 sizeof(sandbox_flags_)) { 614 sizeof(sandbox_flags_)) {
614 PLOG(ERROR) << "write"; 615 PLOG(ERROR) << "write";
615 } 616 }
616 617
617 return false; 618 return false;
618 } 619 }
619 620
620 } // namespace content 621 } // namespace content
OLDNEW
« no previous file with comments | « content/gpu/gpu_watchdog_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698