OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SANDBOX_METHODS_LINUX_H_ | 5 #ifndef CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ |
6 #define CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ | 6 #define CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ |
7 #pragma once | |
8 | 7 |
9 // 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 |
10 // sandbox host. See http://code.google.com/p/chromium/wiki/LinuxSandboxIPC | 9 // sandbox host. See http://code.google.com/p/chromium/wiki/LinuxSandboxIPC |
11 // 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 |
12 // Skia. | 11 // Skia. |
13 class LinuxSandbox { | 12 class LinuxSandbox { |
14 public: | 13 public: |
15 enum Methods { | 14 enum Methods { |
16 METHOD_GET_FONT_FAMILY_FOR_CHARS = 32, | 15 METHOD_GET_FONT_FAMILY_FOR_CHARS = 32, |
17 METHOD_LOCALTIME = 33, | 16 METHOD_LOCALTIME = 33, |
18 METHOD_GET_CHILD_WITH_INODE = 34, | 17 METHOD_GET_CHILD_WITH_INODE = 34, |
19 METHOD_GET_STYLE_FOR_STRIKE = 35, | 18 METHOD_GET_STYLE_FOR_STRIKE = 35, |
20 METHOD_MAKE_SHARED_MEMORY_SEGMENT = 36, | 19 METHOD_MAKE_SHARED_MEMORY_SEGMENT = 36, |
21 METHOD_MATCH_WITH_FALLBACK = 37, | 20 METHOD_MATCH_WITH_FALLBACK = 37, |
22 }; | 21 }; |
23 }; | 22 }; |
24 | 23 |
25 #endif // CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ | 24 #endif // CONTENT_COMMON_SANDBOX_METHODS_LINUX_H_ |
OLD | NEW |