summaryrefslogtreecommitdiffstats
path: root/content/worker
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/worker
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/worker')
-rw-r--r--content/worker/worker_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/worker/worker_main.cc b/content/worker/worker_main.cc
index 981d0a5..58aca31 100644
--- a/content/worker/worker_main.cc
+++ b/content/worker/worker_main.cc
@@ -10,6 +10,7 @@
#include "base/string_util.h"
#include "base/threading/platform_thread.h"
#include "content/common/child_process.h"
+#include "content/common/sandbox_linux.h"
#include "content/public/common/main_function_params.h"
#include "content/public/common/sandbox_init.h"
#include "content/worker/worker_thread.h"
@@ -53,7 +54,7 @@ int WorkerMain(const MainFunctionParams& parameters) {
#elif defined(OS_LINUX)
// On Linux, the sandbox must be initialized early, before any thread is
// created.
- InitializeSandbox();
+ LinuxSandbox::InitializeSandbox();
#endif
ChildProcess worker_process;