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

Unified Diff: content/common/sandbox_init_win.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/common/sandbox_init_win.cc
===================================================================
--- content/common/sandbox_init_win.cc (revision 163460)
+++ content/common/sandbox_init_win.cc (working copy)
@@ -13,8 +13,7 @@
namespace content {
-bool InitializeSandbox(
- sandbox::SandboxInterfaceInfo* sandbox_info) {
+bool InitializeSandbox(sandbox::SandboxInterfaceInfo* sandbox_info) {
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
std::string process_type =
command_line.GetSwitchValueASCII(switches::kProcessType);
@@ -22,7 +21,7 @@
if (broker_services && (process_type.empty() ||
process_type == switches::kNaClBrokerProcess ||
process_type == switches::kServiceProcess)) {
- if (!sandbox::InitBrokerServices(broker_services))
+ if (!InitBrokerServices(broker_services))
return false;
}
@@ -63,7 +62,7 @@
if (!target_services)
return true;
}
- return sandbox::InitTargetServices(target_services);
+ return InitTargetServices(target_services);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698