summaryrefslogtreecommitdiffstats
path: root/chrome/browser/nacl_host/nacl_browser.cc
diff options
context:
space:
mode:
authorncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 01:28:07 +0000
committerncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 01:28:07 +0000
commit59d816b0141785fda252decfcdfb2f35a40da991 (patch)
tree5f894afd515ea58ffcb6a880b74b097a39c5cc9b /chrome/browser/nacl_host/nacl_browser.cc
parentae100e6994a304739d95ac3b1b625a054704c907 (diff)
downloadchromium_src-59d816b0141785fda252decfcdfb2f35a40da991.zip
chromium_src-59d816b0141785fda252decfcdfb2f35a40da991.tar.gz
chromium_src-59d816b0141785fda252decfcdfb2f35a40da991.tar.bz2
Share the zygote's fopen overrides with nacl_helper.
This will allow ChromeOS's version of NSS to initialize inside of nacl_helper without killing the process, which in turn allows validation caching to be enabled on ChromeOS. BUG= https://code.google.com/p/chromium/issues/detail?id=134538 TEST= none Review URL: https://chromiumcodereview.appspot.com/10736017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/nacl_host/nacl_browser.cc')
-rw-r--r--chrome/browser/nacl_host/nacl_browser.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/nacl_host/nacl_browser.cc b/chrome/browser/nacl_host/nacl_browser.cc
index 7e62a0a..f399680 100644
--- a/chrome/browser/nacl_host/nacl_browser.cc
+++ b/chrome/browser/nacl_host/nacl_browser.cc
@@ -22,14 +22,7 @@ const char kValidationCacheSequenceName[] = "NaClValidationCache";
const FilePath::CharType kValidationCacheFileName[] =
FILE_PATH_LITERAL("nacl_validation_cache.bin");
-#if defined(OS_CHROMEOS)
-// TODO(ncbray) enable on ChromeOS.
-// http://code.google.com/p/chromium/issues/detail?id=131218
-const bool kValidationCacheEnabledByDefault = false;
-#else
const bool kValidationCacheEnabledByDefault = true;
-#endif
-
enum ValidationCacheStatus {
CACHE_MISS = 0,