| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/render_sandbox_host_linux.h" | 5 #include "content/browser/renderer_host/render_sandbox_host_linux.h" |
| 6 | 6 |
| 7 #include <fcntl.h> | 7 #include <fcntl.h> |
| 8 #include <fontconfig/fontconfig.h> | 8 #include <fontconfig/fontconfig.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 #include <unistd.h> | 10 #include <unistd.h> |
| 11 #include <sys/uio.h> | 11 #include <sys/uio.h> |
| 12 #include <sys/stat.h> | 12 #include <sys/stat.h> |
| 13 #include <sys/socket.h> | 13 #include <sys/socket.h> |
| 14 #include <sys/poll.h> | 14 #include <sys/poll.h> |
| 15 #include <time.h> | 15 #include <time.h> |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 } | 678 } |
| 679 | 679 |
| 680 RenderSandboxHostLinux::~RenderSandboxHostLinux() { | 680 RenderSandboxHostLinux::~RenderSandboxHostLinux() { |
| 681 if (initialized_) { | 681 if (initialized_) { |
| 682 if (HANDLE_EINTR(close(renderer_socket_)) < 0) | 682 if (HANDLE_EINTR(close(renderer_socket_)) < 0) |
| 683 PLOG(ERROR) << "close"; | 683 PLOG(ERROR) << "close"; |
| 684 if (HANDLE_EINTR(close(childs_lifeline_fd_)) < 0) | 684 if (HANDLE_EINTR(close(childs_lifeline_fd_)) < 0) |
| 685 PLOG(ERROR) << "close"; | 685 PLOG(ERROR) << "close"; |
| 686 } | 686 } |
| 687 } | 687 } |
| OLD | NEW |