commit | 10dfb32e5a368de7bda04e3d9e56e0de1636ff36 | [log] [tgz] |
---|---|---|
author | Alex Danilo <adanilo@chromium.org> | Fri Mar 22 05:59:28 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 22 05:59:28 2019 |
tree | 50a3a2f6ebc624f522d48e9e2868de3688a73a1c | |
parent | b01ba24caf15842c14654439cb68929b4c7fb776 [diff] |
Add Quickview support for sniffed text/plain. Quickview will display text documents if the file name extension is '.txt' but ignored files without an extension even if the metadata identified it as text. This CL uses the sniffed MIME type from local files to allow display of files detected to be of type text/plain. Also, this CL adds a new video file 'world.webm' and changes the integration test for quickview of video since the existing test was using a file with the filename extension of '.ogv' that is MIME sniffed as audio/ogg instead of video. Bug: 772600 Tests: Added integration test and test file 'plaintext'. Change-Id: Ic3563543ad26090871553159a22c758efc3a0ae8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1518261 Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Alex Danilo <adanilo@chromium.org> Cr-Commit-Position: refs/heads/master@{#643273}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .