| Index: media/formats/webm/webm_video_client.h
|
| diff --git a/media/formats/webm/webm_video_client.h b/media/formats/webm/webm_video_client.h
|
| index dfdc5f6f671f1d556f667f34f02d575e4d6f7d47..d746df9166459d2ec70c0f4189ba55c408d6dcad 100644
|
| --- a/media/formats/webm/webm_video_client.h
|
| +++ b/media/formats/webm/webm_video_client.h
|
| @@ -15,6 +15,7 @@
|
| #include "media/formats/webm/webm_parser.h"
|
|
|
| namespace media {
|
| +class EncryptionScheme;
|
| class VideoDecoderConfig;
|
|
|
| // Helper class used to parse a Video element inside a TrackEntry element.
|
| @@ -27,15 +28,15 @@ class WebMVideoClient : public WebMParserClient {
|
| void Reset();
|
|
|
| // Initialize |config| with the data in |codec_id|, |codec_private|,
|
| - // |is_encrypted| and the fields parsed from the last video track element this
|
| - // object was used to parse.
|
| + // |encryption_scheme| and the fields parsed from the last video track element
|
| + // this object was used to parse.
|
| // Returns true if |config| was successfully initialized.
|
| // Returns false if there was unexpected values in the provided parameters or
|
| // video track element fields. The contents of |config| are undefined in this
|
| // case and should not be relied upon.
|
| bool InitializeConfig(const std::string& codec_id,
|
| const std::vector<uint8_t>& codec_private,
|
| - bool is_encrypted,
|
| + const EncryptionScheme& encryption_scheme,
|
| VideoDecoderConfig* config);
|
|
|
| private:
|
|
|