Index: sandbox/win/src/sandbox_policy_base.cc |
diff --git a/sandbox/win/src/sandbox_policy_base.cc b/sandbox/win/src/sandbox_policy_base.cc |
index 28662b42d957db8113ade35c9da39fe8ce4d85b3..dc3ed1f7f9eb13d58a031b0f766d2c2779d9712d 100644 |
--- a/sandbox/win/src/sandbox_policy_base.cc |
+++ b/sandbox/win/src/sandbox_policy_base.cc |
@@ -179,7 +179,7 @@ TokenLevel PolicyBase::GetInitialTokenLevel() const { |
return initial_level_; |
} |
-TokenLevel PolicyBase::GetLockdownTokenLevel() const{ |
+TokenLevel PolicyBase::GetLockdownTokenLevel() const { |
return lockdown_level_; |
} |
@@ -192,6 +192,10 @@ ResultCode PolicyBase::SetJobLevel(JobLevel job_level, uint32_t ui_exceptions) { |
return SBOX_ALL_OK; |
} |
+JobLevel PolicyBase::GetJobLevel() const { |
+ return job_level_; |
+} |
+ |
ResultCode PolicyBase::SetJobMemoryLimit(size_t memory_limit) { |
if (memory_limit && job_level_ == JOB_NONE) { |
return SBOX_ERROR_BAD_PARAMS; |