Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1413)

Unified Diff: content/browser/plugin_process_host.cc

Issue 303293002: Initialize the bootstrap sandbox in the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename constant Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/common/sandbox_init_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_process_host.cc
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc
index c3f6223ba8315a6f594bcf55df318aa086164193..750bf90570428a8a9330a97d66a26940f69ea7b2 100644
--- a/content/browser/plugin_process_host.cc
+++ b/content/browser/plugin_process_host.cc
@@ -96,6 +96,13 @@ class PluginSandboxedProcessLauncherDelegate
virtual int GetIpcFd() OVERRIDE {
return ipc_fd_;
}
+
+#if defined(OS_MACOSX)
+ virtual SandboxType GetSandboxType() OVERRIDE {
+ return SANDBOX_TYPE_NPAPI;
+ }
+#endif // OS_MACOSX
+
#endif // OS_WIN
private:
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/common/sandbox_init_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698