| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_MEDIA_CRYPTO_PPAPI_FAKE_CDM_VIDEO_DECODER_H_ | 5 #ifndef WEBKIT_MEDIA_CRYPTO_PPAPI_FAKE_CDM_VIDEO_DECODER_H_ |
| 6 #define WEBKIT_MEDIA_CRYPTO_PPAPI_FAKE_CDM_VIDEO_DECODER_H_ | 6 #define WEBKIT_MEDIA_CRYPTO_PPAPI_FAKE_CDM_VIDEO_DECODER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "webkit/media/crypto/ppapi/cdm/content_decryption_module.h" |
| 10 #include "webkit/media/crypto/ppapi/cdm_video_decoder.h" | 11 #include "webkit/media/crypto/ppapi/cdm_video_decoder.h" |
| 11 #include "webkit/media/crypto/ppapi/content_decryption_module.h" | |
| 12 | 12 |
| 13 namespace webkit_media { | 13 namespace webkit_media { |
| 14 | 14 |
| 15 class FakeCdmVideoDecoder : public CdmVideoDecoder { | 15 class FakeCdmVideoDecoder : public CdmVideoDecoder { |
| 16 public: | 16 public: |
| 17 explicit FakeCdmVideoDecoder(cdm::Allocator* allocator); | 17 explicit FakeCdmVideoDecoder(cdm::Allocator* allocator); |
| 18 virtual ~FakeCdmVideoDecoder(); | 18 virtual ~FakeCdmVideoDecoder(); |
| 19 | 19 |
| 20 // CdmVideoDecoder implementation. | 20 // CdmVideoDecoder implementation. |
| 21 virtual bool Initialize(const cdm::VideoDecoderConfig& config) OVERRIDE; | 21 virtual bool Initialize(const cdm::VideoDecoderConfig& config) OVERRIDE; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 32 cdm::Size video_size_; | 32 cdm::Size video_size_; |
| 33 | 33 |
| 34 cdm::Allocator* const allocator_; | 34 cdm::Allocator* const allocator_; |
| 35 | 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(FakeCdmVideoDecoder); | 36 DISALLOW_COPY_AND_ASSIGN(FakeCdmVideoDecoder); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace webkit_media | 39 } // namespace webkit_media |
| 40 | 40 |
| 41 #endif // WEBKIT_MEDIA_CRYPTO_PPAPI_FAKE_CDM_VIDEO_DECODER_H_ | 41 #endif // WEBKIT_MEDIA_CRYPTO_PPAPI_FAKE_CDM_VIDEO_DECODER_H_ |
| OLD | NEW |