Hello there! I wonder, if it really useful to someone to auto-open extensions (.crx) even if the user downloaded by using 'Save as...' option. Yeah, there is the comment in the source code: "Special-case Chrome extensions as always-open." [download_manager.cc, DownloadManager::ShouldOpenFileBasedOnExtension]. But I have no clue why that was written. Maybe someone could explain that to me, please?
okie, maybe someone wants to save a single click (even though there's a better way by just click on the link, without using of SaveAs). Sure, there are lot of tastes on Earth. But here, right in that function we have a lookup "auto_open_.find". Why don't to put ".crx" into "auto_open_" set?? That set being filled with values from preferences (kDownloadExtensionsToOpen) so everyone who really don't like that behaviour, could fix it up with a notepad :) Another strange feature - auto-opening of 'Save as'-ed extension is performed by ShellExecute. Maybe it is better to use DownloadManager::OpenChromeExtension ? Best regards, Denis Stanishevskiy. -- Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss
