| Index: chrome/renderer/plugins/plugin_uma.cc
|
| diff --git a/chrome/renderer/plugins/plugin_uma.cc b/chrome/renderer/plugins/plugin_uma.cc
|
| index 5f1bec1a5e72d005f23e639a14549dbebc553817..191e263810f0841d4473623385b60eb7cce9d63c 100644
|
| --- a/chrome/renderer/plugins/plugin_uma.cc
|
| +++ b/chrome/renderer/plugins/plugin_uma.cc
|
| @@ -18,6 +18,8 @@ const char kSilverlightTypePrefix[] = "application/x-silverlight";
|
| const char kRealPlayerTypePrefix[] = "audio/x-pn-realaudio";
|
| const char kJavaTypeSubstring[] = "application/x-java-applet";
|
| const char kQuickTimeType[] = "video/quicktime";
|
| +const char kShockwaveFlashType[] = "application/x-shockwave-flash";
|
| +const char kWidevineCDMType[] = "application/x-ppapi-widevine-cdm";
|
|
|
| // Arrays containing file extensions connected with specific plugins.
|
| // The arrays must be sorted because binary search is used on them.
|
| @@ -159,6 +161,11 @@ MissingPluginReporter::PluginType MissingPluginReporter::MimeTypeToPluginType(
|
| if (strcmp(mime_type.c_str(), kQuickTimeType) == 0)
|
| return QUICKTIME;
|
|
|
| + if (strcmp(mime_type.c_str(), kShockwaveFlashType) == 0)
|
| + return SHOCKWAVE_FLASH;
|
| +
|
| + if (strcmp(mime_type.c_str(), kWidevineCDMType) == 0)
|
| + return WIDEVINE_CDM;
|
| +
|
| return OTHER;
|
| }
|
| -
|
|
|