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

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

Issue 330373002: Reorder IntegrityLevel enum to be less confusing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/security_level.h
diff --git a/sandbox/win/src/security_level.h b/sandbox/win/src/security_level.h
index da84b75252b5596bfea0c59ce88ed1ff464a2ecd..582a60e52dff225bc1cdef76500d9c3b67c43266 100644
--- a/sandbox/win/src/security_level.h
+++ b/sandbox/win/src/security_level.h
@@ -10,16 +10,16 @@
namespace sandbox {
// List of all the integrity levels supported in the sandbox. This is used
-// only on Windows Vista. You can't set the integrity level of the process
+// only on Windows Vista+. You can't set the integrity level of the process
// in the sandbox to a level higher than yours.
enum IntegrityLevel {
- INTEGRITY_LEVEL_SYSTEM,
- INTEGRITY_LEVEL_HIGH,
- INTEGRITY_LEVEL_MEDIUM,
- INTEGRITY_LEVEL_MEDIUM_LOW,
- INTEGRITY_LEVEL_LOW,
+ INTEGRITY_LEVEL_UNTRUSTED = 0,
INTEGRITY_LEVEL_BELOW_LOW,
- INTEGRITY_LEVEL_UNTRUSTED,
+ INTEGRITY_LEVEL_LOW,
+ INTEGRITY_LEVEL_MEDIUM_LOW,
+ INTEGRITY_LEVEL_MEDIUM,
+ INTEGRITY_LEVEL_HIGH,
+ INTEGRITY_LEVEL_SYSTEM,
INTEGRITY_LEVEL_LAST
rvargas (doing something else) 2014/06/16 19:16:57 Today we init variables to LAST, that has to chang
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698