Chromium Code Reviews
DescriptionFigure out the MIME type of shared WebUI resources more efficiently
Previously, GetMimeType() was posted to run on UI thread and potentially
hit disk on Posix systems.
This CL fixes both by adding a hardcoded list (based on `find` scraping)
and requesting GetMimeType() be run from the originating thread (IO)
rather than posting to UI.
R=groby@chromium.org
BUG=608078
Committed: https://crrev.com/8678179613c967ec865b8ee7d1abd9427bd27233
Cr-Commit-Position: refs/heads/master@{#390843}
Patch Set 1 : dcheck #
Total comments: 7
Patch Set 2 : groby@ review #Patch Set 3 : asdf #
Messages
Total messages: 15 (9 generated)
|
||||||||||||||||||||||||||||