DescriptionAdd an IPC for PNaCl to check if the session is incognito,
before deciding to cache a translated nexe (current cache
mechanism won't work in incognito). Use this to decide
whether or not to cache translations for now.
For now, the linker always writes to a self-deleting temp
file, instead of to the cache directly. We then copy the
data from the temp file to the cache as a separate step.
Took about 60ms to copy a 4.6MB nexe in debug mode with a
128kb buffer and 15ms with a 1mb buffer...
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2683
TEST= try compiling an app that doesn't use the File system
in incognito mode -- we should add a test though...
we should add a test though
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149749
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 1
Patch Set 3 : bump buffer size #
Total comments: 6
Patch Set 4 : bump buffer more #
Total comments: 4
Patch Set 5 : use renderer bit and fix error path. #Patch Set 6 : review #Messages
Total messages: 8 (0 generated)
|