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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <poll.h> 9 #include <poll.h>
10 #include <signal.h> 10 #include <signal.h>
(...skipping 13 matching lines...) Expand all
24 #include "base/pickle.h" 24 #include "base/pickle.h"
25 #include "base/posix/eintr_wrapper.h" 25 #include "base/posix/eintr_wrapper.h"
26 #include "base/posix/global_descriptors.h" 26 #include "base/posix/global_descriptors.h"
27 #include "base/posix/unix_domain_socket_linux.h" 27 #include "base/posix/unix_domain_socket_linux.h"
28 #include "base/process/kill.h" 28 #include "base/process/kill.h"
29 #include "base/process/launch.h" 29 #include "base/process/launch.h"
30 #include "base/process/process.h" 30 #include "base/process/process.h"
31 #include "base/process/process_handle.h" 31 #include "base/process/process_handle.h"
32 #include "base/time/time.h" 32 #include "base/time/time.h"
33 #include "base/trace_event/trace_event.h" 33 #include "base/trace_event/trace_event.h"
34 #include "build/build_config.h"
34 #include "content/common/child_process_sandbox_support_impl_linux.h" 35 #include "content/common/child_process_sandbox_support_impl_linux.h"
35 #include "content/common/sandbox_linux/sandbox_linux.h" 36 #include "content/common/sandbox_linux/sandbox_linux.h"
36 #include "content/common/set_process_title.h" 37 #include "content/common/set_process_title.h"
37 #include "content/common/zygote_commands_linux.h" 38 #include "content/common/zygote_commands_linux.h"
38 #include "content/public/common/content_descriptors.h" 39 #include "content/public/common/content_descriptors.h"
39 #include "content/public/common/result_codes.h" 40 #include "content/public/common/result_codes.h"
40 #include "content/public/common/sandbox_linux.h" 41 #include "content/public/common/sandbox_linux.h"
41 #include "content/public/common/send_zygote_child_ping_linux.h" 42 #include "content/public/common/send_zygote_child_ping_linux.h"
42 #include "content/public/common/zygote_fork_delegate_linux.h" 43 #include "content/public/common/zygote_fork_delegate_linux.h"
43 #include "ipc/ipc_channel.h" 44 #include "ipc/ipc_channel.h"
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 bool Zygote::HandleGetSandboxStatus(int fd, base::PickleIterator iter) { 665 bool Zygote::HandleGetSandboxStatus(int fd, base::PickleIterator iter) {
665 if (HANDLE_EINTR(write(fd, &sandbox_flags_, sizeof(sandbox_flags_))) != 666 if (HANDLE_EINTR(write(fd, &sandbox_flags_, sizeof(sandbox_flags_))) !=
666 sizeof(sandbox_flags_)) { 667 sizeof(sandbox_flags_)) {
667 PLOG(ERROR) << "write"; 668 PLOG(ERROR) << "write";
668 } 669 }
669 670
670 return false; 671 return false;
671 } 672 }
672 673
673 } // namespace content 674 } // namespace content
OLDNEW
« no previous file with comments | « content/utility/webthread_impl_for_utility_thread.h ('k') | content/zygote/zygote_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698