DescriptionLoad language .pak files directly from the apk when using splits
Still store them compressed and extract on start-up for when not using
splits, since all locales are included in the apk (would increase size
by ~6megs). When using splits though, only the active language is
shipped to the user, so storing them uncompressed and skipping
extraction makes sense.
This also changes from opening the pak file each time a child process is
spawned to opening it once and caching the handle.
BUG=394502, 490285
Committed: https://crrev.com/4153e51de1c23001defaf19ba58cd15996d1f844
Cr-Commit-Position: refs/heads/master@{#336330}
Patch Set 1 #
Total comments: 4
Patch Set 2 : update getter comment #Patch Set 3 : was totally broken. #
Total comments: 2
Patch Set 4 : Delete unused getter #Patch Set 5 : rebase #Patch Set 6 : Fix ui_base_unittest failure (allow locale paks to be loaded multiple times) #Messages
Total messages: 20 (6 generated)
|