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

Unified Diff: content/public/browser/zygote_host_linux.h

Issue 49843002: cros: Remove unused low memory margin code from sandbox and zygote (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
« no previous file with comments | « content/browser/zygote_host/zygote_host_impl_linux.cc ('k') | sandbox/linux/suid/common/sandbox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/zygote_host_linux.h
diff --git a/content/public/browser/zygote_host_linux.h b/content/public/browser/zygote_host_linux.h
index a9798de10dc87e59d0cac0a6fc21225953420b74..77cc00b2fb1a5253915508903dcdac0d5ec3631e 100644
--- a/content/public/browser/zygote_host_linux.h
+++ b/content/public/browser/zygote_host_linux.h
@@ -38,12 +38,6 @@ class ZygoteHost {
// likely to be killed by the OOM killer.
virtual void AdjustRendererOOMScore(base::ProcessHandle process_handle,
int score) = 0;
-
- // Adjust the point at which the low memory notifier in the kernel tells
- // us that we're low on memory. When there is less than |margin_mb| left,
- // then the notifier will notify us. Set |margin_mb| to -1 to turn off
- // low memory notification altogether.
- virtual void AdjustLowMemoryMargin(int64 margin_mb) = 0;
};
} // namespace content
« no previous file with comments | « content/browser/zygote_host/zygote_host_impl_linux.cc ('k') | sandbox/linux/suid/common/sandbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698