summaryrefslogtreecommitdiffstats
path: root/sandbox/sandbox.gyp
diff options
context:
space:
mode:
authorgspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-03 20:30:43 +0000
committergspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-03 20:30:43 +0000
commit232ed4691df490e376c74ecf04f2f6092f03427f (patch)
tree3dd09707acccf9eb175e592b4f0fbade06a5015b /sandbox/sandbox.gyp
parent9a4fd693db2ee9e383f7a826d50bc63bc5bf7db0 (diff)
downloadchromium_src-232ed4691df490e376c74ecf04f2f6092f03427f.zip
chromium_src-232ed4691df490e376c74ecf04f2f6092f03427f.tar.gz
chromium_src-232ed4691df490e376c74ecf04f2f6092f03427f.tar.bz2
This creates a field trial to determine the best level for low memory
notification. It creates a field trial with 7 groups: default (kernel default value), turning notification off (relying on OOM killer only), 0MB, 25MB, 50MB margin, 100MB margin, and 200MB margin. Also, in order to set parameters for the trial, this CL creates an API for setting the low memory margin. BUG=chromium-os:20080 TEST=Ran on device several times, checked that the memory margin was set correctly when the session started, and that different trial groups were selected. Review URL: http://codereview.chromium.org/10206029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135205 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/sandbox.gyp')
-rw-r--r--sandbox/sandbox.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sandbox/sandbox.gyp b/sandbox/sandbox.gyp
index 50a9bfe..a3593c6 100644
--- a/sandbox/sandbox.gyp
+++ b/sandbox/sandbox.gyp
@@ -167,6 +167,7 @@
'linux/suid/linux_util.h',
'linux/suid/process_util.h',
'linux/suid/process_util_linux.c',
+ 'linux/suid/sandbox.h',
'linux/suid/sandbox.c',
],
'cflags': [