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

Unified Diff: content/worker/worker_main.cc

Issue 13814027: Linux: make current InitializeSandbox() private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove sandbox_init_linux.cc Created 7 years, 8 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/utility/utility_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/worker_main.cc
diff --git a/content/worker/worker_main.cc b/content/worker/worker_main.cc
index 981d0a5cb7a2682fde11cf310e734e9af93dd880..58aca315b2928e620a5c64628692c7113fc7ccd8 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;
« no previous file with comments | « content/utility/utility_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698