Chromium Code Reviews
DescriptionDevTools: [Persistence] start searching in JSON/MarkDown files
Every UISourceCode coming from filesystem is attributed with a resource
type. "search all files" relies on this resourceType to skip non-text
resources.
In order to search in as many text files as possible, we should blacklist
binary files instead of whitelisting text files.
This patch introduces a set of common binary extensions. A file with binary
extension is attributed with ResourceType.Other type, and a file with
text extension is attributed with ReosurceType.Document.
BUG=none
R=dgozman
Review-Url: https://codereview.chromium.org/2603913002
Cr-Commit-Position: refs/heads/master@{#445333}
Committed: https://chromium.googlesource.com/chromium/src/+/0a70ea39525afdde25c161e54c100aadca530e0c
Patch Set 1 #Patch Set 2 : add executable extensions #Messages
Total messages: 16 (8 generated)
|