| Index: webkit/media/crypto/ppapi/ffmpeg_cdm_video_decoder.h
 | 
| diff --git a/webkit/media/crypto/ppapi/ffmpeg_cdm_video_decoder.h b/webkit/media/crypto/ppapi/ffmpeg_cdm_video_decoder.h
 | 
| index a835673cbf00b2fbd8cdf2700344a433879d2df6..824a06ef8aaab3c6f9c65a531d761d00a19feda3 100644
 | 
| --- a/webkit/media/crypto/ppapi/ffmpeg_cdm_video_decoder.h
 | 
| +++ b/webkit/media/crypto/ppapi/ffmpeg_cdm_video_decoder.h
 | 
| @@ -7,6 +7,7 @@
 | 
|  
 | 
|  #include "base/basictypes.h"
 | 
|  #include "base/compiler_specific.h"
 | 
| +#include "webkit/media/crypto/ppapi/cdm_video_decoder.h"
 | 
|  #include "webkit/media/crypto/ppapi/content_decryption_module.h"
 | 
|  
 | 
|  struct AVCodecContext;
 | 
| @@ -14,28 +15,26 @@ struct AVFrame;
 | 
|  
 | 
|  namespace webkit_media {
 | 
|  
 | 
| -class FFmpegCdmVideoDecoder {
 | 
| +class FFmpegCdmVideoDecoder : public CdmVideoDecoder {
 | 
|   public:
 | 
|    explicit FFmpegCdmVideoDecoder(cdm::Allocator* allocator);
 | 
| -  ~FFmpegCdmVideoDecoder();
 | 
| -  bool Initialize(const cdm::VideoDecoderConfig& config);
 | 
| -  void Deinitialize();
 | 
| -  void Reset();
 | 
| +  virtual ~FFmpegCdmVideoDecoder();
 | 
| +
 | 
| +  // CdmVideoDecoder implementation.
 | 
| +  virtual bool Initialize(const cdm::VideoDecoderConfig& config) OVERRIDE;
 | 
| +  virtual void Deinitialize() OVERRIDE;
 | 
| +  virtual void Reset() OVERRIDE;
 | 
| +  virtual cdm::Status DecodeFrame(const uint8_t* compressed_frame,
 | 
| +                                  int32_t compressed_frame_size,
 | 
| +                                  int64_t timestamp,
 | 
| +                                  cdm::VideoFrame* decoded_frame) OVERRIDE;
 | 
| +  virtual bool is_initialized() const OVERRIDE { return is_initialized_; }
 | 
|  
 | 
|    // Returns true when |format| and |data_size| specify a supported video
 | 
|    // output configuration.
 | 
|    static bool IsValidOutputConfig(cdm::VideoFormat format,
 | 
|                                    const cdm::Size& data_size);
 | 
|  
 | 
| -  // Decodes |compressed_frame|. Stores output frame in |decoded_frame| and
 | 
| -  // returns |cdm::kSuccess| when an output frame is available. Returns
 | 
| -  // |cdm::kNeedMoreData| when |compressed_frame| does not produce an output
 | 
| -  // frame. Returns |cdm::kDecodeError| when decoding fails.
 | 
| -  cdm::Status DecodeFrame(const uint8_t* compressed_frame,
 | 
| -                          int32_t compressed_frame_size,
 | 
| -                          int64_t timestamp,
 | 
| -                          cdm::VideoFrame* decoded_frame);
 | 
| -
 | 
|   private:
 | 
|    // Allocates storage, then copies video frame stored in |av_frame_| to
 | 
|    // |cdm_video_frame|. Returns true when allocation and copy succeed.
 | 
| 
 |