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

Side by Side Diff: content/browser/zygote_host/zygote_host_impl_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
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/browser/zygote_host/zygote_host_impl_linux.h" 5 #include "content/browser/zygote_host/zygote_host_impl_linux.h"
6 6
7 #include <errno.h>
7 #include <string.h> 8 #include <string.h>
8 #include <sys/socket.h> 9 #include <sys/socket.h>
9 #include <sys/stat.h> 10 #include <sys/stat.h>
10 #include <sys/types.h> 11 #include <sys/types.h>
11 #include <unistd.h> 12 #include <unistd.h>
12 13
13 #include "base/base_switches.h" 14 #include "base/base_switches.h"
14 #include "base/command_line.h" 15 #include "base/command_line.h"
15 #include "base/environment.h" 16 #include "base/environment.h"
16 #include "base/files/file_enumerator.h" 17 #include "base/files/file_enumerator.h"
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 } 595 }
595 596
596 if (!sandbox::Credentials::CanCreateProcessInNewUserNS()) { 597 if (!sandbox::Credentials::CanCreateProcessInNewUserNS()) {
597 return false; 598 return false;
598 } 599 }
599 600
600 return true; 601 return true;
601 } 602 }
602 603
603 } // namespace content 604 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/gpu/media/generic_v4l2_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698