| Index: media/base/key_systems_unittest.cc
|
| diff --git a/media/base/key_systems_unittest.cc b/media/base/key_systems_unittest.cc
|
| index 6bf2c6e8f68a9365f3cccd313d6ad027d7cdf739..b8dac94b9c58a90e8450c9f37a6321929a9558ee 100644
|
| --- a/media/base/key_systems_unittest.cc
|
| +++ b/media/base/key_systems_unittest.cc
|
| @@ -179,6 +179,9 @@ class TestMediaClient : public MediaClient {
|
| void AddSupportedKeySystems(std::vector<std::unique_ptr<KeySystemProperties>>*
|
| key_systems_properties) override;
|
| void RecordRapporURL(const std::string& metric, const GURL& url) final;
|
| + bool IsSupportedVideoConfig(media::VideoCodec codec,
|
| + media::VideoCodecProfile profile,
|
| + int level) final;
|
|
|
| // Helper function to test the case where IsKeySystemsUpdateNeeded() is true
|
| // after AddSupportedKeySystems() is called.
|
| @@ -229,6 +232,12 @@ void TestMediaClient::RecordRapporURL(const std::string& /* metric */,
|
| NOTIMPLEMENTED();
|
| }
|
|
|
| +bool TestMediaClient::IsSupportedVideoConfig(media::VideoCodec codec,
|
| + media::VideoCodecProfile profile,
|
| + int level) {
|
| + return true;
|
| +}
|
| +
|
| void TestMediaClient::SetKeySystemsUpdateNeeded() {
|
| is_update_needed_ = true;
|
| }
|
|
|