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

Side by Side Diff: content/browser/renderer_host/render_sandbox_host_linux.cc

Issue 114483003: Revert of Linux Sandbox: split the GPU policies to their own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « components/nacl.gyp ('k') | content/common/OWNERS » ('j') | 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/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 <sys/poll.h> 10 #include <sys/poll.h>
(...skipping 12 matching lines...) Expand all
23 #include "base/memory/singleton.h" 23 #include "base/memory/singleton.h"
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/unix_domain_socket_linux.h" 26 #include "base/posix/unix_domain_socket_linux.h"
27 #include "base/process/launch.h" 27 #include "base/process/launch.h"
28 #include "base/process/process_metrics.h" 28 #include "base/process/process_metrics.h"
29 #include "base/strings/string_number_conversions.h" 29 #include "base/strings/string_number_conversions.h"
30 #include "base/strings/string_util.h" 30 #include "base/strings/string_util.h"
31 #include "content/child/webkitplatformsupport_impl.h" 31 #include "content/child/webkitplatformsupport_impl.h"
32 #include "content/common/font_config_ipc_linux.h" 32 #include "content/common/font_config_ipc_linux.h"
33 #include "content/common/sandbox_linux/sandbox_linux.h" 33 #include "content/common/sandbox_linux.h"
34 #include "content/common/set_process_title.h" 34 #include "content/common/set_process_title.h"
35 #include "content/public/common/content_switches.h" 35 #include "content/public/common/content_switches.h"
36 #include "skia/ext/skia_utils_base.h" 36 #include "skia/ext/skia_utils_base.h"
37 #include "third_party/WebKit/public/platform/linux/WebFontInfo.h" 37 #include "third_party/WebKit/public/platform/linux/WebFontInfo.h"
38 #include "third_party/WebKit/public/web/WebKit.h" 38 #include "third_party/WebKit/public/web/WebKit.h"
39 #include "third_party/npapi/bindings/npapi_extensions.h" 39 #include "third_party/npapi/bindings/npapi_extensions.h"
40 #include "third_party/skia/include/ports/SkFontConfigInterface.h" 40 #include "third_party/skia/include/ports/SkFontConfigInterface.h"
41 #include "ui/gfx/font_render_params_linux.h" 41 #include "ui/gfx/font_render_params_linux.h"
42 42
43 using blink::WebCString; 43 using blink::WebCString;
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 RenderSandboxHostLinux::~RenderSandboxHostLinux() { 731 RenderSandboxHostLinux::~RenderSandboxHostLinux() {
732 if (initialized_) { 732 if (initialized_) {
733 if (IGNORE_EINTR(close(renderer_socket_)) < 0) 733 if (IGNORE_EINTR(close(renderer_socket_)) < 0)
734 PLOG(ERROR) << "close"; 734 PLOG(ERROR) << "close";
735 if (IGNORE_EINTR(close(childs_lifeline_fd_)) < 0) 735 if (IGNORE_EINTR(close(childs_lifeline_fd_)) < 0)
736 PLOG(ERROR) << "close"; 736 PLOG(ERROR) << "close";
737 } 737 }
738 } 738 }
739 739
740 } // namespace content 740 } // namespace content
OLDNEW
« no previous file with comments | « components/nacl.gyp ('k') | content/common/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698