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

Side by Side Diff: content/public/common/sandbox_process_type_mac.h

Issue 8589001: Load mac sandbox definitions from resources instead of the bundle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: different approach Created 9 years, 1 month 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_COMMON_SANDBOX_PROCESS_TYPE_MAC_H_
6 #define CONTENT_PUBLIC_COMMON_SANDBOX_PROCESS_TYPE_MAC_H_
7 #pragma once
8
9 namespace content {
jeremy 2011/11/23 07:02:17 Need a header comment explaining what this file do
jochen (gone - plz use gerrit) 2011/11/23 10:57:28 Done.
10
11 enum SandboxProcessType {
12 SANDBOX_TYPE_FIRST_TYPE = 0, // Placeholder to ease iteration.
13
14 SANDBOX_TYPE_RENDERER = SANDBOX_TYPE_FIRST_TYPE,
15
16 // The worker process uses the most restrictive sandbox which has almost
17 // *everything* locked down. Only a couple of /System/Library/ paths and
18 // some other very basic operations (e.g., reading metadata to allow
19 // following symlinks) are permitted.
20 SANDBOX_TYPE_WORKER,
21
22 // Utility process is as restrictive as the worker process except full
23 // access is allowed to one configurable directory.
24 SANDBOX_TYPE_UTILITY,
25
26 // GPU process.
27 SANDBOX_TYPE_GPU,
28
29 // The PPAPI plugin process.
30 SANDBOX_TYPE_PPAPI,
31
32 SANDBOX_AFTER_TYPE_LAST_TYPE, // Placeholder to ease iteration.
33 };
34
35 } // namespace content
36
37 #endif // CONTENT_PUBLIC_COMMON_SANDBOX_PROCESS_TYPE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698