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

Unified Diff: content/common/sandbox_policy.h

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_policy.h
===================================================================
--- content/common/sandbox_policy.h (revision 163460)
+++ content/common/sandbox_policy.h (working copy)
@@ -5,26 +5,17 @@
#ifndef CONTENT_COMMON_SANDBOX_POLICY_H_
#define CONTENT_COMMON_SANDBOX_POLICY_H_
-#include "base/process.h"
-#include "content/common/content_export.h"
-
-class CommandLine;
-class FilePath;
-
namespace sandbox {
-
class BrokerServices;
class TargetServices;
+}
+namespace content {
+
bool InitBrokerServices(sandbox::BrokerServices* broker_services);
bool InitTargetServices(sandbox::TargetServices* target_services);
-// Starts a sandboxed process with the given directory unsandboxed
-// and returns a handle to it.
-base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line,
- const FilePath& exposed_dir);
+} // namespace content
-} // namespace sandbox
-
#endif // CONTENT_COMMON_SANDBOX_POLICY_H_

Powered by Google App Engine
This is Rietveld 408576698