DescriptionDo not show translate bar for MHTML files.
Add a check for MHTML files to TranslateManager::IsTranslatableURL(). This
causes the translate infobar to not be shown for MHTML files, because Chrome
fails when trying to translate MHTML files.
BUG=217945
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215878
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add and use GURL::ExtractFileExtension() #
Total comments: 1
Patch Set 3 : Case insensitive comparison for file extension. #Patch Set 4 : Use MIME type to block translation of MHTML pages #
Total comments: 2
Patch Set 5 : Clean up comments. #
Messages
Total messages: 14 (0 generated)
|