Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / content / public / common / sandbox_type.h
blobef610fbed8e7e7ec6303a21829f5610f35ba02cb
1 // Copyright (c) 2012 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.
5 #ifndef CONTENT_PUBLIC_COMMON_SANDBOX_TYPE_H_
6 #define CONTENT_PUBLIC_COMMON_SANDBOX_TYPE_H_
8 namespace content {
10 // Defines the sandbox types known within content. Embedders can add additional
11 // sandbox types with IDs starting with SANDBOX_TYPE_AFTER_LAST_TYPE.
13 enum SandboxType {
14 // Not a valid sandbox type.
15 SANDBOX_TYPE_INVALID = -1,
17 SANDBOX_TYPE_FIRST_TYPE = 0, // Placeholder to ease iteration.
19 SANDBOX_TYPE_RENDERER = SANDBOX_TYPE_FIRST_TYPE,
21 // Utility process is as restrictive as the worker process except full
22 // access is allowed to one configurable directory.
23 SANDBOX_TYPE_UTILITY,
25 // GPU process.
26 SANDBOX_TYPE_GPU,
28 // The PPAPI plugin process.
29 SANDBOX_TYPE_PPAPI,
31 SANDBOX_TYPE_AFTER_LAST_TYPE, // Placeholder to ease iteration.
34 } // namespace content
36 #endif // CONTENT_PUBLIC_COMMON_SANDBOX_TYPE_H_