Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: content/common/sandbox_methods_linux.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/sandbox_mac_unittest_helper.h ('k') | content/common/sandbox_policy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « content/common/sandbox_mac_unittest_helper.h ('k') | content/common/sandbox_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698