diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-23 19:43:12 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-23 19:43:12 +0000 |
commit | 921a31d77870b86b4640f25a9c51fbeba07ab4b5 (patch) | |
tree | 9b5efa4e9e5bdf150c837298dc963cb311ba5699 /media/base/pts_heap_unittest.cc | |
parent | 20fbc692a57fdc985471a31e99c26e3f1a66fb62 (diff) | |
download | chromium_src-921a31d77870b86b4640f25a9c51fbeba07ab4b5.zip chromium_src-921a31d77870b86b4640f25a9c51fbeba07ab4b5.tar.gz chromium_src-921a31d77870b86b4640f25a9c51fbeba07ab4b5.tar.bz2 |
ChromeFrame in IE full tab mode would not render pages if Adblock Pro was installed on the machine.
Based on my debugging it looks like AdBlock gets confused because we report the mime type initally as
text/html and then swich to application/chromepage.
Fix is to attempt to determine the mime type in our IInternetProtocolSink::ReportProgress implementation.
If we fail we continue to determine the mime type in IInternetProtocolSink::ReportData.
Added a helper function CheckAndReportChromeMimeTypeForRequest which is invoked from both places.
Fixes http://code.google.com/p/chromium/issues/detail?id=31031
Bug=31031
Review URL: http://codereview.chromium.org/501181
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/pts_heap_unittest.cc')
0 files changed, 0 insertions, 0 deletions