summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 23:23:59 +0000
committerfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 23:23:59 +0000
commitad0f89fa9a1311a6178d26feee4f0eda6a84d92c (patch)
treeeca7274b56f794235be8ae43f6b5684493fe0827 /net
parentdd8d8bfb7c3f47c56b026ccd308bca29217b4a6a (diff)
downloadchromium_src-ad0f89fa9a1311a6178d26feee4f0eda6a84d92c.zip
chromium_src-ad0f89fa9a1311a6178d26feee4f0eda6a84d92c.tar.gz
chromium_src-ad0f89fa9a1311a6178d26feee4f0eda6a84d92c.tar.bz2
Opus extension to mimetype map so files with .opus play instead of download, if enabled with --enable-opus-playback.
BUG=174280 TESTED=try bots Review URL: https://codereview.chromium.org/12221108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/mime_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index 27c3919..ed21199 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -129,7 +129,7 @@ static const MimeInfo primary_mappings[] = {
{ "audio/x-m4a", "m4a" },
{ "audio/mp3", "mp3" },
{ "video/ogg", "ogv,ogm" },
- { "audio/ogg", "ogg,oga" },
+ { "audio/ogg", "ogg,oga,opus" },
{ "video/webm", "webm" },
{ "audio/webm", "webm" },
{ "audio/wav", "wav" },