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