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

Unified Diff: content/worker/worker_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/worker/worker_main.cc
===================================================================
--- content/worker/worker_main.cc (revision 107845)
+++ content/worker/worker_main.cc (working copy)
@@ -14,7 +14,7 @@
#include "content/worker/worker_thread.h"
#if defined(OS_WIN)
-#include "content/common/sandbox_init_wrapper.h"
+#include "content/public/common/sandbox_init.h"
#include "sandbox/src/sandbox.h"
#endif
@@ -31,7 +31,7 @@
worker_process.set_main_thread(new WorkerThread());
#if defined(OS_WIN)
sandbox::TargetServices* target_services =
- parameters.sandbox_info_.TargetServices();
+ parameters.sandbox_info->target_services;
if (!target_services)
return false;
@@ -45,7 +45,7 @@
target_services->LowerToken();
#endif
- const CommandLine& parsed_command_line = parameters.command_line_;
+ const CommandLine& parsed_command_line = parameters.command_line;
if (parsed_command_line.HasSwitch(switches::kWaitForDebugger)) {
ChildProcess::WaitForDebugger("Worker");
}

Powered by Google App Engine
This is Rietveld 408576698