OLD | NEW |
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 #ifndef CONTENT_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_ | 5 #ifndef CONTENT_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_ |
6 #define CONTENT_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_ | 6 #define CONTENT_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_ |
7 | 7 |
8 #include "base/global_descriptors_posix.h" | 8 #include "base/posix/global_descriptors.h" |
9 #include "content/public/common/child_process_sandbox_support_linux.h" | 9 #include "content/public/common/child_process_sandbox_support_linux.h" |
10 #include "content/public/common/content_descriptors.h" | 10 #include "content/public/common/content_descriptors.h" |
11 | 11 |
12 namespace WebKit { | 12 namespace WebKit { |
13 struct WebFontFamily; | 13 struct WebFontFamily; |
14 struct WebFontRenderStyle; | 14 struct WebFontRenderStyle; |
15 } | 15 } |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
(...skipping 13 matching lines...) Expand all Loading... |
32 void GetRenderStyleForStrike(const char* family, int sizeAndStyle, | 32 void GetRenderStyleForStrike(const char* family, int sizeAndStyle, |
33 WebKit::WebFontRenderStyle* out); | 33 WebKit::WebFontRenderStyle* out); |
34 | 34 |
35 inline int GetSandboxFD() { | 35 inline int GetSandboxFD() { |
36 return kSandboxIPCChannel + base::GlobalDescriptors::kBaseDescriptor; | 36 return kSandboxIPCChannel + base::GlobalDescriptors::kBaseDescriptor; |
37 } | 37 } |
38 | 38 |
39 }; // namespace content | 39 }; // namespace content |
40 | 40 |
41 #endif // CONTENT_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_ | 41 #endif // CONTENT_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_ |
OLD | NEW |