summaryrefslogtreecommitdiffstats
path: root/net/disk_cache
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 23:05:41 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 23:05:41 +0000
commit2bc039a702f3d361e020c7584a5b3f786bee69d4 (patch)
treee23afbbee83698d30da8876345c701fdc679582c /net/disk_cache
parent80c36e207822e61b3afb6857eb3f60576f157f16 (diff)
downloadchromium_src-2bc039a702f3d361e020c7584a5b3f786bee69d4.zip
chromium_src-2bc039a702f3d361e020c7584a5b3f786bee69d4.tar.gz
chromium_src-2bc039a702f3d361e020c7584a5b3f786bee69d4.tar.bz2
seccomp: simplify enable/disable logic
1) Only compile in seccomp code at all if it's on a platform we intend to support (non-ChromeOS non-ARM non-Views Linux). 2) Move usage of seccomp code behind a define and usage of seccomp flags into a function call. The former helps catch bugs in the latter: it will be a link error if I accidentally break the enable/disable logic in code. Review URL: http://codereview.chromium.org/7519016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
0 files changed, 0 insertions, 0 deletions