OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:sandbox_type
(Results
1 - 10
of
10
) sorted by null
/external/chromium_org/content/common/
sandbox_init_mac.cc
15
bool InitializeSandbox(int
sandbox_type
, const base::FilePath& allowed_dir) {
17
Sandbox::SandboxWarmup(
sandbox_type
);
20
return Sandbox::EnableSandbox(
sandbox_type
, allowed_dir);
23
// Fill in |
sandbox_type
| and |allowed_dir| based on the command line, returns
26
bool GetSandboxTypeFromCommandLine(int*
sandbox_type
,
28
DCHECK(
sandbox_type
);
31
*
sandbox_type
= -1;
44
*
sandbox_type
= SANDBOX_TYPE_RENDERER;
47
*
sandbox_type
= SANDBOX_TYPE_UTILITY;
52
*
sandbox_type
= SANDBOX_TYPE_WORKER
72
int
sandbox_type
= 0;
local
[
all
...]
sandbox_mac_unittest_helper.mm
71
bool MacSandboxTest::RunTestInSandbox(SandboxType
sandbox_type
,
75
s << static_cast<int>(static_cast<int>(
sandbox_type
));
131
SandboxType
sandbox_type
= static_cast<SandboxType>(atoi(sandbox_type_str));
156
Sandbox::SandboxWarmup(
sandbox_type
);
158
if (!Sandbox::EnableSandbox(
sandbox_type
, base::FilePath())) {
159
LOG(ERROR) << "Failed to initialize sandbox " <<
sandbox_type
;
sandbox_mac.h
64
// sandbox is turned on. |
sandbox_type
| is the type of sandbox to warm up.
65
// Valid |
sandbox_type
| values are defined by the enum SandboxType, or can be
68
static void SandboxWarmup(int
sandbox_type
);
71
// |
sandbox_type
| - type of Sandbox to use. See SandboxWarmup() for legal
77
static bool EnableSandbox(int
sandbox_type
,
sandbox_mac.mm
46
SandboxType
sandbox_type
;
251
void Sandbox::SandboxWarmup(int
sandbox_type
) {
310
if (
sandbox_type
== SANDBOX_TYPE_GPU) {
354
NSString* LoadSandboxTemplate(int
sandbox_type
) {
363
if (kDefaultSandboxTypeToResourceIDMapping[i].
sandbox_type
==
364
sandbox_type
) {
374
sandbox_type
, &sandbox_profile_resource_id);
375
CHECK(sandbox_type_found) << "Unknown sandbox type " <<
sandbox_type
;
481
bool Sandbox::EnableSandbox(int
sandbox_type
,
485
if (
sandbox_type
< SANDBOX_TYPE_AFTER_LAST_TYPE &
[
all
...]
sandbox_mac_unittest_helper.h
47
// by |
sandbox_type
|. |test_data| is a custom string that a test can pass
52
bool RunTestInSandbox(content::SandboxType
sandbox_type
,
/external/chromium_org/content/public/common/
sandbox_init.h
69
// Initialize the sandbox of the given |
sandbox_type
|, optionally specifying a
71
// supported by the sandbox profile associated with the given |
sandbox_type
|.
72
// Valid values for |
sandbox_type
| are defined either by the enum SandboxType,
75
// If the |
sandbox_type
| isn't one of the ones defined by content then the
77
// The embedder can use values for |
sandbox_type
| starting from
83
CONTENT_EXPORT bool InitializeSandbox(int
sandbox_type
,
content_client.h
140
// Allows the embedder to define a new |
sandbox_type
| by mapping it to the
142
// for |
sandbox_type
| are defined by the embedder and should start with
144
// profile for the given |
sandbox_type
| exists. Otherwise,
148
int
sandbox_type
,
content_client.cc
119
int
sandbox_type
,
/external/chromium_org/chrome/common/
chrome_content_client.h
43
int
sandbox_type
,
chrome_content_client.cc
477
int
sandbox_type
,
480
if (
sandbox_type
== NACL_SANDBOX_TYPE_NACL_LOADER) {
Completed in 124 milliseconds