Home | History | Annotate | Download | only in common

Lines Matching defs:Sandbox

30 // Class representing a substring of the sandbox profile tagged with its type.
57 class CONTENT_EXPORT Sandbox {
64 // sandbox is turned on. |sandbox_type| is the type of sandbox to warm up.
70 // Turns on the OS X sandbox for this process.
71 // |sandbox_type| - type of Sandbox to use. See SandboxWarmup() for legal
73 // |allowed_dir| - directory to allow access to, currently the only sandbox
76 // Returns true on success, false if an error occurred enabling the sandbox.
80 // Returns true if the sandbox has been enabled for the current process.
86 // Build the Sandbox command necessary to allow access to a named directory
88 // Returns a string containing the sandbox profile commands necessary to allow
92 // substition works in sandbox templates.
99 // Assemble the final sandbox profile from a template by removing comments
104 // - Comments - The sandbox comment syntax is used to make the OS sandbox
112 // sandbox template in cases where another string needs to be substituted at
122 // On output |final_sandbox_profile_str| contains the final sandbox profile.
135 // Escape |src_utf8| for use in a plain string variable in a sandbox
140 // Escape |str_utf8| for use in a regex literal in a sandbox
145 // OS X sandbox on 10.5.8 & 10.6.2 which is undocumented and subject to
155 // Convert provided path into a "canonical" path matching what the Sandbox
164 DISALLOW_IMPLICIT_CONSTRUCTORS(Sandbox);