/external/chromium_org/components/nacl/loader/nonsfi/ |
nonsfi_sandbox.cc | 5 #include "components/nacl/loader/nonsfi/nonsfi_sandbox.h" 35 namespace nacl { namespace 157 // When PROT_EXEC is specified, IRT mmap of Non-SFI NaCl helper 273 // used by NaCl applications that use Pepper's 3D interfaces. 342 new nacl::nonsfi::NaClNonSfiBPFSandboxPolicy())); 350 } // namespace nacl
|
/external/chromium_org/components/nacl/renderer/ |
nexe_load_manager.h | 23 namespace nacl { namespace 119 // A flag indicating if the NaCl executable is being loaded from an installed 125 // register a mime handler that loads NaCl executables into an arbitrary web 127 // for NaCl resources that we have seen so far". 136 // Time of the start of loading a NaCl module. 167 } // namespace nacl
|
histogram.cc | 5 #include "components/nacl/renderer/histogram.h" 9 namespace nacl { namespace 44 HistogramEnumerate("NaCl.LoadStatus.Plugin", error_code, PP_NACL_ERROR_MAX); 48 "NaCl.LoadStatus.Plugin.InstalledApp" : 49 "NaCl.LoadStatus.Plugin.NotInstalledApp"; 84 HistogramEnumerate("NaCl.Client.OSArch", os_arch, kNaClOSArchMax); 193 HistogramEnumerate("NaCl.Manifest.IsDataURI", is_data_uri, 2); 207 } // namespace nacl
|
nexe_load_manager.cc | 5 #include "components/nacl/renderer/nexe_load_manager.h" 12 #include "components/nacl/common/nacl_host_messages.h" 13 #include "components/nacl/common/nacl_types.h" 14 #include "components/nacl/renderer/histogram.h" 15 #include "components/nacl/renderer/manifest_service_channel.h" 16 #include "components/nacl/renderer/pnacl_translation_resource_host.h" 17 #include "components/nacl/renderer/progress_event.h" 18 #include "components/nacl/renderer/sandbox_arch.h" 19 #include "components/nacl/renderer/trusted_plugin_channel.h" 49 // The "nacl" attribute of the <embed> tag. We use the value of this attribut 81 namespace nacl { namespace [all...] |
json_manifest.cc | 5 #include "components/nacl/renderer/json_manifest.h" 13 #include "components/nacl/renderer/nexe_load_manager.h" 18 namespace nacl { namespace 43 // Sample NaCl manifest file: 180 // This prohibits NaCl clients from invoking PNaCl. 183 error_stream << "PNaCl-like NMF with application/x-nacl mimetype instead " 279 // The known values for NaCl ISA dictionaries in the manifest. 304 // For NaCl, arch entries can only be 383 typedef base::ScopedPtrHashMap<PP_Instance, nacl::JsonManifest> JsonManifestMap; 530 // NaCl [all...] |
ppb_nacl_private_impl.cc | 5 #include "components/nacl/renderer/ppb_nacl_private_impl.h" 19 #include "components/nacl/common/nacl_host_messages.h" 20 #include "components/nacl/common/nacl_messages.h" 21 #include "components/nacl/common/nacl_nonsfi_util.h" 22 #include "components/nacl/common/nacl_switches.h" 23 #include "components/nacl/common/nacl_types.h" 24 #include "components/nacl/renderer/file_downloader.h" 25 #include "components/nacl/renderer/histogram.h" 26 #include "components/nacl/renderer/json_manifest.h" 27 #include "components/nacl/renderer/manifest_downloader.h 63 namespace nacl { namespace [all...] |
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
pnacl_translate_thread.h | 24 namespace nacl { namespace 47 nacl::DescWrapper* invalid_desc_wrapper, 51 const nacl::string &architecture_attributes, 76 const nacl::string& error_string); 85 nacl::scoped_ptr<NaClThread> translate_thread_; 89 nacl::scoped_ptr<NaClSubprocess> llc_subprocess_; 90 nacl::scoped_ptr<NaClSubprocess> ld_subprocess_; 116 nacl::DescWrapper* invalid_desc_wrapper_; 120 nacl::string architecture_attributes_;
|
service_runtime.h | 31 namespace nacl { namespace 45 SelLdrStartParams(const nacl::string& url, 58 nacl::string url; 94 class PluginReverseInterface: public nacl::ReverseInterface { 96 PluginReverseInterface(nacl::WeakRefAnchor* anchor, 106 virtual void DoPostMessage(nacl::string message); 110 virtual bool OpenManifestEntry(nacl::string url_key, 120 // nacl::ReverseInterface. 121 virtual int64_t RequestQuotaForWrite(nacl::string file_id, 130 void OpenManifestEntryAsync(const nacl::string& key [all...] |
/external/chromium_org/components/nacl/browser/ |
nacl_browser.h | 16 #include "components/nacl/browser/nacl_browser_delegate.h" 17 #include "components/nacl/browser/nacl_validation_cache.h" 26 namespace nacl { namespace 40 // Will it be possible to launch a NaCl process, eventually? 43 // Are we ready to launch a NaCl process now? Implies IsOk(). 91 // The NaCl singleton keeps information about NaCl executable files opened via 92 // PPAPI. This allows the NaCl process to get trusted information about the 96 // modified after validation, allowing an escape from the NaCl sandbox. 100 // Instead of allowing these attacks, the NaCl process only trusts informatio [all...] |
nacl_host_message_filter.cc | 5 #include "components/nacl/browser/nacl_host_message_filter.h" 8 #include "components/nacl/browser/nacl_browser.h" 9 #include "components/nacl/browser/nacl_file_host.h" 10 #include "components/nacl/browser/nacl_process_host.h" 11 #include "components/nacl/browser/pnacl_host.h" 12 #include "components/nacl/common/nacl_host_messages.h" 23 namespace nacl { namespace 31 // Only allow NaCl plugins to request certain permissions. We don't want 32 // a compromised renderer to be able to start a nacl plugin with e.g. Flash 116 const nacl::NaClLaunchParams& launch_params [all...] |
nacl_process_host.h | 16 #include "components/nacl/common/nacl_types.h" 33 namespace nacl { namespace 38 // Represents the browser side of the browser <--> NaCl communication 39 // channel. There will be one NaClProcessHost per NaCl process 40 // The browser is responsible for starting the NaCl process 42 // After that, most of the communication is directly between NaCl plugin 43 // running in the renderer and NaCl processes. 50 // permission_bits: controls which interfaces the NaCl plugin can use. 84 // Initialize the new NaCl process. Result is returned by sending ipc 104 // nacl_process_host.h doesn't include NaCl headers. Needed since it' [all...] |
nacl_browser.cc | 5 #include "components/nacl/browser/nacl_browser.h" 35 // Entries may not be claimed for two main reasons. 1) the NaCl process could 36 // be killed while it is loading. 2) the trusted NaCl plugin opens files using 63 #error Add support for your architecture to NaCl IRT file selection 97 void LogCacheQuery(nacl::NaClBrowser::ValidationCacheStatus status) { 98 UMA_HISTOGRAM_ENUMERATION("NaCl.ValidationCache.Query", status, 99 nacl::NaClBrowser::CACHE_MAX); 102 void LogCacheSet(nacl::NaClBrowser::ValidationCacheStatus status) { 104 UMA_HISTOGRAM_ENUMERATION("NaCl.ValidationCache.Set", status, 105 nacl::NaClBrowser::CACHE_MAX) 114 namespace nacl { namespace [all...] |
nacl_process_host.cc | 5 #include "components/nacl/browser/nacl_process_host.h" 29 #include "components/nacl/browser/nacl_browser.h" 30 #include "components/nacl/browser/nacl_browser_delegate.h" 31 #include "components/nacl/browser/nacl_host_message_filter.h" 32 #include "components/nacl/common/nacl_cmd_line.h" 33 #include "components/nacl/common/nacl_host_messages.h" 34 #include "components/nacl/common/nacl_messages.h" 35 #include "components/nacl/common/nacl_process_type.h" 36 #include "components/nacl/common/nacl_switches.h" 68 #include "components/nacl/browser/nacl_broker_service_win.h 121 namespace nacl { namespace 235 namespace nacl { namespace [all...] |
/external/chromium_org/components/nacl/zygote/ |
nacl_fork_delegate_linux.cc | 5 #include "components/nacl/zygote/nacl_fork_delegate_linux.h" 32 #include "components/nacl/common/nacl_nonsfi_util.h" 33 #include "components/nacl/common/nacl_paths.h" 34 #include "components/nacl/common/nacl_switches.h" 35 #include "components/nacl/loader/nacl_helper_linux.h" 50 // environment variables are passed through to NaCl processes. e.g., 128 namespace nacl { namespace 152 // For communications between the NaCl loader process and 169 // NaCl's x86-64 sandbox is not zero-address-based. Starting 191 if (!PathService::Get(nacl::FILE_NACL_HELPER, &helper_exe)) [all...] |
/external/chromium_org/chrome/common/ |
chrome_content_client.cc | 27 #include "components/nacl/common/nacl_process_type.h" 48 #include "components/nacl/common/nacl_sandbox_type_mac.h" 72 const char kNaClPluginMimeType[] = "application/x-nacl"; 175 // from the Chrome Web Store to use NaCl even if the command line switch 176 // isn't set. For other uses of NaCl we check for the command line switch. 182 content::PepperPluginInfo nacl; local 183 nacl.path = path; 184 nacl.name = ChromeContentClient::kNaClPluginName; 188 nacl.mime_types.push_back(nacl_mime_type); 194 nacl.mime_types.push_back(pnacl_mime_type) [all...] |