OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/sandbox_ipc_linux.h" | 5 #include "content/browser/renderer_host/sandbox_ipc_linux.h" |
6 | 6 |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 #include <string.h> |
10 #include <sys/poll.h> | 11 #include <sys/poll.h> |
11 #include <sys/socket.h> | 12 #include <sys/socket.h> |
12 #include <sys/stat.h> | 13 #include <sys/stat.h> |
13 | 14 |
14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
15 #include "base/files/scoped_file.h" | 16 #include "base/files/scoped_file.h" |
16 #include "base/linux_util.h" | 17 #include "base/linux_util.h" |
17 #include "base/macros.h" | 18 #include "base/macros.h" |
18 #include "base/memory/shared_memory.h" | 19 #include "base/memory/shared_memory.h" |
19 #include "base/posix/eintr_wrapper.h" | 20 #include "base/posix/eintr_wrapper.h" |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 } | 445 } |
445 | 446 |
446 void SandboxIPCHandler::EnsureWebKitInitialized() { | 447 void SandboxIPCHandler::EnsureWebKitInitialized() { |
447 if (blink_platform_impl_) | 448 if (blink_platform_impl_) |
448 return; | 449 return; |
449 blink_platform_impl_.reset(new BlinkPlatformImpl); | 450 blink_platform_impl_.reset(new BlinkPlatformImpl); |
450 blink::initializeWithoutV8(blink_platform_impl_.get()); | 451 blink::initializeWithoutV8(blink_platform_impl_.get()); |
451 } | 452 } |
452 | 453 |
453 } // namespace content | 454 } // namespace content |
OLD | NEW |