From e53db4462779be3af76c63404314afe7a1464657 Mon Sep 17 00:00:00 2001 From: "abarth@chromium.org" Date: Sat, 28 Mar 2009 07:13:19 +0000 Subject: Add the ability to specify a default MIME type when loading a resource. We'll need this to correctly load stylesheets that lack a Content-Type header in standards mode. We're waiting on https://bugs.webkit.org/show_bug.cgi?id=24904 upstream before this works fully. This change, as it stands, is a no-op. R=wtc BUG=7448 Review URL: http://codereview.chromium.org/55049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12739 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/media/data_source_impl.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/renderer/media') diff --git a/chrome/renderer/media/data_source_impl.cc b/chrome/renderer/media/data_source_impl.cc index 93a4f5c..ba78743 100644 --- a/chrome/renderer/media/data_source_impl.cc +++ b/chrome/renderer/media/data_source_impl.cc @@ -200,6 +200,7 @@ void DataSourceImpl::OnInitialize(std::string uri) { "null", // TODO(abarth): provide frame_origin "null", // TODO(abarth): provide main_frame_origin std::string(), // Provide no header. + "", // default_mime_type // Prefer to load from cache, also enable downloading the file, the // resource will be saved to a single response data file if it's possible. net::LOAD_PREFERRING_CACHE | net::LOAD_ENABLE_DOWNLOAD_FILE, -- cgit v1.1