Index: sandbox/win/src/sandbox_policy.h |
diff --git a/sandbox/win/src/sandbox_policy.h b/sandbox/win/src/sandbox_policy.h |
index cc39c6283950ebc3ba6d29e38d0fbd1d58a2bed7..43b272b640e720cd3670fe8bc93b7c97ec797e0a 100644 |
--- a/sandbox/win/src/sandbox_policy.h |
+++ b/sandbox/win/src/sandbox_policy.h |
@@ -135,6 +135,9 @@ class TargetPolicy { |
virtual ResultCode SetJobLevel(JobLevel job_level, |
uint32_t ui_exceptions) = 0; |
+ // Returns the job level. |
+ virtual JobLevel GetJobLevel() const = 0; |
+ |
// Sets a hard limit on the size of the commit set for the sandboxed process. |
// If the limit is reached, the process will be terminated with |
// SBOX_FATAL_MEMORY_EXCEEDED (7012). |