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

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

Issue 319573006: Add sandbox support for process memory limits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback 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
Index: sandbox/win/src/job.h
diff --git a/sandbox/win/src/job.h b/sandbox/win/src/job.h
index 7c215efc8e63f87e97bb12fa7916437c44602d9c..60dc3146b709bb6630efe617a390a0c4a464c399 100644
--- a/sandbox/win/src/job.h
+++ b/sandbox/win/src/job.h
@@ -31,7 +31,8 @@ class Job {
// the error.
DWORD Init(JobLevel security_level,
const wchar_t* job_name,
- DWORD ui_exceptions);
+ DWORD ui_exceptions,
+ size_t memory_limit);
// Assigns the process referenced by process_handle to the job.
// If the function succeeds, the return value is ERROR_SUCCESS. If the

Powered by Google App Engine
This is Rietveld 408576698