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

Unified Diff: sandbox/win/src/app_container.cc

Issue 937353002: Adding method to create process using LowBox token in sandbox code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added platform checking Created 5 years, 10 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: sandbox/win/src/app_container.cc
diff --git a/sandbox/win/src/app_container.cc b/sandbox/win/src/app_container.cc
index f8d754191592341cd2e37390c5f91cc8501713a8..af16dca363ddd931b60b4fec91ec077489bd5a16 100644
--- a/sandbox/win/src/app_container.cc
+++ b/sandbox/win/src/app_container.cc
@@ -94,6 +94,10 @@ bool AppContainerAttributes::HasAppContainer() const {
return (capabilities_.AppContainerSid != NULL);
}
+const SECURITY_CAPABILITIES& AppContainerAttributes::GetCapabilities() const {
+ return capabilities_;
+}
+
ResultCode CreateAppContainer(const base::string16& sid,
const base::string16& name) {
PSID local_sid;

Powered by Google App Engine
This is Rietveld 408576698