summaryrefslogtreecommitdiffstats
path: root/base/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/process.h')
-rw-r--r--base/process.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/base/process.h b/base/process.h
index 459ad58..fa076b9 100644
--- a/base/process.h
+++ b/base/process.h
@@ -66,24 +66,6 @@ class Process {
// Returns true if the priority was changed, false otherwise.
bool SetProcessBackgrounded(bool value);
- // Reduces the working set of memory used by the process.
- // The algorithm used by this function is intentionally vague. Repeated calls
- // to this function consider the process' previous required Working Set sizes
- // to determine a reasonable reduction. This helps give memory back to the OS
- // in increments without over releasing memory.
- // When the WorkingSet is reduced, it is permanent, until the caller calls
- // UnReduceWorkingSet.
- // Returns true if successful, false otherwise.
- bool ReduceWorkingSet();
-
- // Undoes the effects of prior calls to ReduceWorkingSet().
- // Returns true if successful, false otherwise.
- bool UnReduceWorkingSet();
-
- // Releases as much of the working set back to the OS as possible.
- // Returns true if successful, false otherwise.
- bool EmptyWorkingSet();
-
private:
ProcessHandle process_;
size_t last_working_set_size_;