Index: sandbox/win/src/sandbox_policy_base.h |
diff --git a/sandbox/win/src/sandbox_policy_base.h b/sandbox/win/src/sandbox_policy_base.h |
index 5c267a0435444b8f5eb520a50c630adbf77fc53d..6b2ce9d05f2fc079724e8ae0295dd4303dc6acd7 100644 |
--- a/sandbox/win/src/sandbox_policy_base.h |
+++ b/sandbox/win/src/sandbox_policy_base.h |
@@ -43,6 +43,8 @@ class PolicyBase : public Dispatcher, public TargetPolicy { |
TokenLevel lockdown) OVERRIDE; |
virtual ResultCode SetJobLevel(JobLevel job_level, |
uint32 ui_exceptions) OVERRIDE; |
+ virtual ResultCode SetJobMemoryLimit(size_t limit, bool terminate) OVERRIDE; |
+ virtual bool WillTerminateOnJobMemoryLimit() const OVERRIDE; |
virtual ResultCode SetAlternateDesktop(bool alternate_winstation) OVERRIDE; |
virtual base::string16 GetAlternateDesktop() const OVERRIDE; |
virtual ResultCode CreateAlternateDesktop(bool alternate_winstation) OVERRIDE; |
@@ -124,6 +126,8 @@ class PolicyBase : public Dispatcher, public TargetPolicy { |
TokenLevel initial_level_; |
JobLevel job_level_; |
uint32 ui_exceptions_; |
+ size_t process_memory_limit_; |
+ bool terminate_on_memory_limit_; |
bool use_alternate_desktop_; |
bool use_alternate_winstation_; |
// Helps the file system policy initialization. |