NaCl Validation Caching: support incognito mode.

When the validation cache handles a query from an incognito process it:
1) checks the main cache without reordering it.
2) if 1 fails, checks a seperate "incognito" cache that is never persisted to
disk.

When the validation cache handles a set from incognito process, it routes the
set directly to the incognito cache.

The net result is that incognito can use non-incognito cache entries, and cache
entries created in incognito mode are only usable by incognito within a single
browser session.

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/10446047

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139481 0039d316-1c4b-4281-b951-d872f2087c98
9 files changed