summaryrefslogtreecommitdiffstats
path: root/content/ppapi_plugin
diff options
context:
space:
mode:
authorjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-13 02:00:47 +0000
committerjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-13 02:00:47 +0000
commit1b73f77e889f3dbd181fed25adeb36d1f58ccd74 (patch)
tree27fff638da85841dc907b33d370291b08bc4c897 /content/ppapi_plugin
parent438e3b827f556f8f307d8f728e9c4b8e797c55e6 (diff)
downloadchromium_src-1b73f77e889f3dbd181fed25adeb36d1f58ccd74.zip
chromium_src-1b73f77e889f3dbd181fed25adeb36d1f58ccd74.tar.gz
chromium_src-1b73f77e889f3dbd181fed25adeb36d1f58ccd74.tar.bz2
Linux: make current InitializeSandbox() private.
The current InitializeSandbox() is only usable from inside of content/, make it part of the content-specific LinuxSandbox class. BUG=229673 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/13814027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/ppapi_plugin')
-rw-r--r--content/ppapi_plugin/ppapi_plugin_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/ppapi_plugin/ppapi_plugin_main.cc b/content/ppapi_plugin/ppapi_plugin_main.cc
index 9db7f2f..62c87ac 100644
--- a/content/ppapi_plugin/ppapi_plugin_main.cc
+++ b/content/ppapi_plugin/ppapi_plugin_main.cc
@@ -9,6 +9,7 @@
#include "base/threading/platform_thread.h"
#include "build/build_config.h"
#include "content/common/child_process.h"
+#include "content/common/sandbox_linux.h"
#include "content/ppapi_plugin/ppapi_thread.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
@@ -93,7 +94,7 @@ int PpapiPluginMain(const MainFunctionParams& parameters) {
GetContentClient()->plugin()->PreSandboxInitialization();
#if defined(OS_LINUX)
- InitializeSandbox();
+ LinuxSandbox::InitializeSandbox();
#endif
ChildProcess ppapi_process;