Chromium Code Reviews| Index: webkit/media/crypto/key_systems.h |
| diff --git a/webkit/media/crypto/key_systems.h b/webkit/media/crypto/key_systems.h |
| index 41e567258f2cd446074904a659142403fedda233..41412a4830a946cc880b0f472da1dad05ad1f0a7 100644 |
| --- a/webkit/media/crypto/key_systems.h |
| +++ b/webkit/media/crypto/key_systems.h |
| @@ -34,9 +34,11 @@ std::string KeySystemNameForUMA(const WebKit::WebString& key_system); |
| // Returns whether AesDecryptor can be used for the given |key_system|. |
| bool CanUseAesDecryptor(const std::string& key_system); |
| -// Returns the plugin type given a |key_system|. |
| -// Returns an empty string if no plugin type is found for |key_system|. |
| -std::string GetPluginType(const std::string& key_system); |
| +#if defined(ENABLE_PEPPER_CDMS) |
| +// Returns the Pepper MIME type for |key_system|. |
| +// Returns an empty string if |key_system| is unknown or not Pepper-based. |
| +std::string GetPepperType(const std::string& key_system); |
| +#endif |
|
xhwang
2013/05/14 16:35:44
nit: #endif // defined(ENABLE_PEPPER_CDMS)
ddorwin
2013/05/14 20:14:28
Same
|
| } // namespace webkit_media |