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

Unified Diff: content/browser/child_process_launcher.cc

Issue 11228040: Move sandbox code in content to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
Index: content/browser/child_process_launcher.cc
===================================================================
--- content/browser/child_process_launcher.cc (revision 163460)
+++ content/browser/child_process_launcher.cc (working copy)
@@ -23,6 +23,7 @@
#if defined(OS_WIN)
#include "base/file_path.h"
#include "content/common/sandbox_policy.h"
+#include "content/public/common/sandbox_init.h"
#elif defined(OS_MACOSX)
#include "content/browser/mach_broker_mac.h"
#elif defined(OS_ANDROID)
@@ -161,7 +162,7 @@
scoped_ptr<CommandLine> cmd_line_deleter(cmd_line);
#if defined(OS_WIN)
- base::ProcessHandle handle = sandbox::StartProcessWithAccess(
+ base::ProcessHandle handle = content::StartProcessWithAccess(
cmd_line, exposed_dir);
#elif defined(OS_ANDROID)
std::string process_type =

Powered by Google App Engine
This is Rietveld 408576698