| Index: webkit/activex_shim/activex_shared.cc
|
| ===================================================================
|
| --- webkit/activex_shim/activex_shared.cc (revision 13602)
|
| +++ webkit/activex_shim/activex_shared.cc (working copy)
|
| @@ -225,4 +225,17 @@
|
| LowerCaseEqualsASCII(mimetype, "application/oleobject");
|
| }
|
|
|
| +bool GetMimeTypeForClsid(const std::string& clsid, std::string* mime_type) {
|
| + DCHECK(mime_type != NULL);
|
| +
|
| + if (!base::strcasecmp(clsid.c_str(),
|
| + "6BF52A52-394A-11D3-B153-00C04F79FAA6") ||
|
| + !base::strcasecmp(clsid.c_str(),
|
| + "22D6F312-B0F6-11D0-94AB-0080C74C7E95")) {
|
| + *mime_type = "application/x-mplayer2";
|
| + return true;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| } // namespace activex_shim
|
|
|