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

Unified Diff: content/utility/utility_main.cc

Issue 8414020: Expose the sandbox related code through the content API. I did a bit of cleanup while I was doing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/utility/utility_main.cc
===================================================================
--- content/utility/utility_main.cc (revision 107845)
+++ content/utility/utility_main.cc (working copy)
@@ -29,10 +29,10 @@
utility_process.set_main_thread(new UtilityThreadImpl());
#if defined(OS_WIN)
- bool no_sandbox = parameters.command_line_.HasSwitch(switches::kNoSandbox);
+ bool no_sandbox = parameters.command_line.HasSwitch(switches::kNoSandbox);
if (!no_sandbox) {
sandbox::TargetServices* target_services =
- parameters.sandbox_info_.TargetServices();
+ parameters.sandbox_info->target_services;
if (!target_services)
return false;
target_services->LowerToken();

Powered by Google App Engine
This is Rietveld 408576698