summaryrefslogtreecommitdiffstats
path: root/ui/base/layout.cc
diff options
context:
space:
mode:
authorncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-26 04:30:12 +0000
committerncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-26 04:30:12 +0000
commit8c67083771dd35498e832fa241aa3adb815b47e9 (patch)
treeb23112e2d07565e48e46c8a5e46e1ad14c539ff7 /ui/base/layout.cc
parentb74b4885d8268a943bb9498abbe1d4a288d97f70 (diff)
downloadchromium_src-8c67083771dd35498e832fa241aa3adb815b47e9.zip
chromium_src-8c67083771dd35498e832fa241aa3adb815b47e9.tar.gz
chromium_src-8c67083771dd35498e832fa241aa3adb815b47e9.tar.bz2
Persist NaCl's validation cache to disk.
Persisting the cache is straightforward: it is pickled, and the pickle data is sent to the blocking pool to be written to disk. Reading the cache off disk is a little trickier, because it needs to be done before sel_ldr is started in the NaCl process. This is implemented as an asynchronous task that blocks starting sel_ldr, similar to opening the IRT. Functionality to serialize and deserialize the validation cache was also added. To improve testability, features such as cache enabling / disabling and UMA reporting were shifted from NaClValidationCache onto the NaClBrowser singleton. This allowed unit tests to be written for NaClValidationCache. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2515 TEST= Run nexe in browser with NACL_VALIDATION_CACHE=1 Review URL: https://chromiumcodereview.appspot.com/10399053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/layout.cc')
0 files changed, 0 insertions, 0 deletions