DescriptionFiles app: Show a dialog to suggest extensions when file's extension or mime type is available.
Before, when the mime type is not obtained from files, we didn't show
suggest app dialog for the files even when we can guess the file
types by file extensions.
By this change, we show the suggest app dialog when we have either non-empty file extension or mime type.
BUG=671585
TEST=download tgz file, and confirm that double-clicking the tgz file shows suggestions about extensions.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2553003003
Cr-Commit-Position: refs/heads/master@{#442858}
Committed: https://chromium.googlesource.com/chromium/src/+/f99c4fce53c83466a05a445007d108a451dc4ba6
Patch Set 1 #Patch Set 2 : Make the mime type of suggestAppDialog opational. #
Messages
Total messages: 21 (8 generated)
|