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

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

Issue 319573006: Add sandbox support for process memory limits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready for review 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/broker_services.h
diff --git a/sandbox/win/src/broker_services.h b/sandbox/win/src/broker_services.h
index d2494437751ae04445116990036e60d61d8d35a0..39abacd28b5a48f8684e8fc595e919becf1cacb9 100644
--- a/sandbox/win/src/broker_services.h
+++ b/sandbox/win/src/broker_services.h
@@ -63,9 +63,9 @@ class BrokerServicesBase FINAL : public BrokerServices,
bool IsActiveTarget(DWORD process_id);
private:
- // Releases the Job and notifies the associated Policy object to its
- // resources as well.
- static void FreeResources(JobTracker* tracker);
+ // Releases the Job, terminates all job processes with exit_code, and notifies
+ // the associated Policy object to free its resources as well.
+ static void FreeResources(JobTracker* tracker, UINT exit_code);
// The routine that the worker thread executes. It is in charge of
// notifications and cleanup-related tasks.

Powered by Google App Engine
This is Rietveld 408576698