Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Unified Diff: media/base/key_system_properties.h

Issue 1953803002: Remove remaining uses of KeySystemInfo and InitDataTypeMask (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/key_system_info.cc ('k') | media/base/key_systems.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/key_system_properties.h
diff --git a/media/base/key_system_properties.h b/media/base/key_system_properties.h
index 67cb4f806388ca07804aefb29bd824479933bf99..a5f890bea8ab9419cb814015d3ca4ad5633d9194 100644
--- a/media/base/key_system_properties.h
+++ b/media/base/key_system_properties.h
@@ -7,9 +7,7 @@
#include <string>
-#include "build/build_config.h"
#include "media/base/eme_constants.h"
-#include "media/base/key_system_info.h"
#include "media/base/media_export.h"
namespace media {
@@ -58,38 +56,6 @@ class MEDIA_EXPORT KeySystemProperties {
virtual std::string GetPepperType() const;
};
-// TODO(halliwell): remove this before M52. Replace with subclasses that
-// directly implement the different cases (e.g. ClearKey, Widevine, Cast).
-class MEDIA_EXPORT InfoBasedKeySystemProperties : public KeySystemProperties {
- public:
- InfoBasedKeySystemProperties(const KeySystemInfo& info);
-
- std::string GetKeySystemName() const override;
- bool IsSupportedInitDataType(EmeInitDataType init_data_type) const override;
-
- SupportedCodecs GetSupportedCodecs() const override;
-#if defined(OS_ANDROID)
- SupportedCodecs GetSupportedSecureCodecs() const override;
-#endif
-
- EmeConfigRule GetRobustnessConfigRule(
- EmeMediaType media_type,
- const std::string& requested_robustness) const override;
- EmeSessionTypeSupport GetPersistentLicenseSessionSupport() const override;
- EmeSessionTypeSupport GetPersistentReleaseMessageSessionSupport()
- const override;
- EmeFeatureSupport GetPersistentStateSupport() const override;
- EmeFeatureSupport GetDistinctiveIdentifierSupport() const override;
- bool UseAesDecryptor() const override;
-
-#if defined(ENABLE_PEPPER_CDMS)
- std::string GetPepperType() const override;
-#endif
-
- private:
- const KeySystemInfo info_;
-};
-
} // namespace media
#endif // MEDIA_BASE_KEY_SYSTEM_PROPERTIES_H_
« no previous file with comments | « media/base/key_system_info.cc ('k') | media/base/key_systems.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698