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

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

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: Removed sid.h/.cc 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
« no previous file with comments | « no previous file | sandbox/win/src/app_container.cc » ('j') | sandbox/win/src/app_container_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/app_container.h
diff --git a/sandbox/win/src/app_container.h b/sandbox/win/src/app_container.h
index 8125d706fb4addab8d9b43a5db37d723dd9cfaae..82bce0004ff9c4171ffe5d7b644cae1ec02c399f 100644
--- a/sandbox/win/src/app_container.h
+++ b/sandbox/win/src/app_container.h
@@ -32,16 +32,12 @@ class AppContainerAttributes {
ResultCode SetAppContainer(const base::string16& app_container_sid,
const std::vector<base::string16>& capabilities);
- // Updates the proc_thred attribute list of the provided startup_information
- // with the app container related data.
- // WARNING: startup_information just points back to our internal memory, so
- // the lifetime of this object has to be greater than the lifetime of the
- // provided startup_information.
- ResultCode ShareForStartup(
rvargas (doing something else) 2015/02/27 20:16:34 I know I asked you to remove this, but after talki
- base::win::StartupInformation* startup_information) const;
-
bool HasAppContainer() const;
+ // Returns security capabilities structure, which is populated when you call
+ // SetAppContainer.
+ const SECURITY_CAPABILITIES& GetCapabilities() const;
+
private:
SECURITY_CAPABILITIES capabilities_;
std::vector<SID_AND_ATTRIBUTES> attributes_;
« no previous file with comments | « no previous file | sandbox/win/src/app_container.cc » ('j') | sandbox/win/src/app_container_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698