commit | 22cb538ec4929915efdc5510618beee7912b5700 | [log] [tgz] |
---|---|---|
author | Wenbo Jie <wenbojie@chromium.org> | Tue Mar 01 05:36:08 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 01 05:36:08 2022 |
tree | cf90e6cbe7a2d696ede02f00fc9a88eaa7420c00 | |
parent | 5c1313867907344b9e40ff1fe9ea760952d14f1d [diff] |
[FilesRecentFilter] use generated json as file type data source With the json data generator tool introduced in CL:3473619, we extract the supported file type list from the original `file_type.js` and put it in a standalone `file_types.json5`, which serves as a single source of truth for all files we support in Files app. The json data generator will generate files both in Javascript and C++, so they can be imported directly in both frontend and backend as the file type data source. This CL covers the change in the frontend, we just import the generated js file in file_type.js to maintain the existing behaviour. Bug: 1259359 Change-Id: I6e855b3625846538c19beaebeab78d13a7a445b3 Cq-Do-Not-Cancel-Tryjobs: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3469537 Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Wenbo Jie <wenbojie@chromium.org> Cr-Commit-Position: refs/heads/main@{#976103}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.