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

Unified Diff: content/common/sandbox_win.h

Issue 1185333003: Implement GetSandboxType() on all platforms and implement for all process types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep rebasing keep rebasing... Created 5 years, 6 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
« no previous file with comments | « content/common/sandbox_mac.h ('k') | content/common/sandbox_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_win.h
diff --git a/content/common/sandbox_win.h b/content/common/sandbox_win.h
index 7fe52a85aaa4b6df40e94f3794bf5252ee8b0a3f..338e1c4233a76fb520fd105275f58184f9242b68 100644
--- a/content/common/sandbox_win.h
+++ b/content/common/sandbox_win.h
@@ -30,6 +30,9 @@ void SetJobLevel(const base::CommandLine& cmd_line,
// Closes handles that are opened at process creation and initialization.
void AddBaseHandleClosePolicy(sandbox::TargetPolicy* policy);
+// Add AppContainer policy for |sid| on supported OS.
+void AddAppContainerPolicy(sandbox::TargetPolicy* policy, const wchar_t* sid);
+
bool InitBrokerServices(sandbox::BrokerServices* broker_services);
bool InitTargetServices(sandbox::TargetServices* target_services);
« no previous file with comments | « content/common/sandbox_mac.h ('k') | content/common/sandbox_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698