OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ | 5 #ifndef CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ |
6 #define CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ | 6 #define CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // This is a list of sandbox IPC methods which the renderer may send to the | 9 // This is a list of sandbox IPC methods which the renderer may send to the |
10 // sandbox host. See http://code.google.com/p/chromium/LinuxSandboxIPC | 10 // sandbox host. See http://code.google.com/p/chromium/LinuxSandboxIPC |
11 // This isn't the full list, values < 32 are reserved for methods called from | 11 // This isn't the full list, values < 32 are reserved for methods called from |
12 // Skia. | 12 // Skia. |
13 class LinuxSandbox { | 13 class LinuxSandbox { |
14 public: | 14 public: |
15 enum Methods { | 15 enum Methods { |
16 METHOD_GET_FONT_FAMILY_FOR_CHARS = 32, | 16 METHOD_GET_FONT_FAMILY_FOR_CHARS = 32, |
17 METHOD_LOCALTIME = 33, | 17 METHOD_LOCALTIME = 33, |
18 METHOD_GET_CHILD_WITH_INODE = 34, | 18 METHOD_GET_CHILD_WITH_INODE = 34, |
19 METHOD_GET_STYLE_FOR_STRIKE = 35, | 19 METHOD_GET_STYLE_FOR_STRIKE = 35, |
20 METHOD_MAKE_SHARED_MEMORY_SEGMENT = 36, | 20 METHOD_MAKE_SHARED_MEMORY_SEGMENT = 36, |
21 METHOD_MATCH_WITH_FALLBACK = 37, | 21 METHOD_MATCH_WITH_FALLBACK = 37, |
22 }; | 22 }; |
23 }; | 23 }; |
24 | 24 |
25 #endif // CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ | 25 #endif // CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ |
OLD | NEW |