OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_FAKE_CDM_VIDEO_DECODER_H_ | 5 #ifndef MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_FAKE_CDM_VIDEO_DECODER_H_ |
6 #define MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_FAKE_CDM_VIDEO_DECODER_H_ | 6 #define MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_FAKE_CDM_VIDEO_DECODER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "media/cdm/api/content_decryption_module.h" | 10 #include "media/cdm/api/content_decryption_module.h" |
10 #include "media/cdm/ppapi/external_clear_key/cdm_video_decoder.h" | 11 #include "media/cdm/ppapi/external_clear_key/cdm_video_decoder.h" |
11 | 12 |
12 namespace media { | 13 namespace media { |
13 | 14 |
14 class FakeCdmVideoDecoder : public CdmVideoDecoder { | 15 class FakeCdmVideoDecoder : public CdmVideoDecoder { |
15 public: | 16 public: |
16 explicit FakeCdmVideoDecoder(cdm::Host* host); | 17 explicit FakeCdmVideoDecoder(cdm::Host* host); |
17 ~FakeCdmVideoDecoder() override; | 18 ~FakeCdmVideoDecoder() override; |
18 | 19 |
(...skipping 12 matching lines...) Expand all Loading... |
31 cdm::Size video_size_; | 32 cdm::Size video_size_; |
32 | 33 |
33 cdm::Host* const host_; | 34 cdm::Host* const host_; |
34 | 35 |
35 DISALLOW_COPY_AND_ASSIGN(FakeCdmVideoDecoder); | 36 DISALLOW_COPY_AND_ASSIGN(FakeCdmVideoDecoder); |
36 }; | 37 }; |
37 | 38 |
38 } // namespace media | 39 } // namespace media |
39 | 40 |
40 #endif // MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_FAKE_CDM_VIDEO_DECODER_H_ | 41 #endif // MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_FAKE_CDM_VIDEO_DECODER_H_ |
OLD | NEW |