HomeSort by relevance Sort by last modified time
    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;
45 *sandbox_type = SANDBOX_TYPE_RENDERER;
48 *sandbox_type = SANDBOX_TYPE_UTILITY;
54 *sandbox_type = SANDBOX_TYPE_GPU
70 int sandbox_type = 0; local
    [all...]
sandbox_mac_unittest_helper.mm 70 bool MacSandboxTest::RunTestInSandbox(SandboxType sandbox_type,
74 s << static_cast<int>(static_cast<int>(sandbox_type));
129 SandboxType sandbox_type = static_cast<SandboxType>(atoi(sandbox_type_str));
154 Sandbox::SandboxWarmup(sandbox_type);
156 if (!Sandbox::EnableSandbox(sandbox_type, base::FilePath())) {
157 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 53 SandboxType sandbox_type;
257 void Sandbox::SandboxWarmup(int sandbox_type) {
316 if (sandbox_type == SANDBOX_TYPE_UTILITY) {
322 if (sandbox_type == SANDBOX_TYPE_GPU) {
328 if (sandbox_type == SANDBOX_TYPE_PPAPI) {
334 if (sandbox_type == SANDBOX_TYPE_RENDERER &&
384 NSString* LoadSandboxTemplate(int sandbox_type) {
393 if (kDefaultSandboxTypeToResourceIDMapping[i].sandbox_type ==
394 sandbox_type) {
404 sandbox_type, &sandbox_profile_resource_id)
    [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 67 // Initialize the sandbox of the given |sandbox_type|, optionally specifying a
69 // supported by the sandbox profile associated with the given |sandbox_type|.
70 // Valid values for |sandbox_type| are defined either by the enum SandboxType,
73 // If the |sandbox_type| isn't one of the ones defined by content then the
75 // The embedder can use values for |sandbox_type| starting from
81 CONTENT_EXPORT bool InitializeSandbox(int sandbox_type,
content_client.h 125 // Allows the embedder to define a new |sandbox_type| by mapping it to the
127 // for |sandbox_type| are defined by the embedder and should start with
129 // profile for the given |sandbox_type| exists. Otherwise,
133 int sandbox_type,
content_client.cc 108 int sandbox_type,
  /external/chromium_org/chrome/common/
chrome_content_client.h 43 int sandbox_type,
chrome_content_client.cc 536 int sandbox_type,
539 if (sandbox_type == NACL_SANDBOX_TYPE_NACL_LOADER) {

Completed in 284 milliseconds