| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_STUB_STUB_CDM_H_ | 5 #ifndef MEDIA_CDM_STUB_STUB_CDM_H_ |
| 6 #define MEDIA_CDM_STUB_STUB_CDM_H_ | 6 #define MEDIA_CDM_STUB_STUB_CDM_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "media/cdm/api/content_decryption_module.h" | 9 #include "media/cdm/api/content_decryption_module.h" |
| 9 | 10 |
| 10 namespace media { | 11 namespace media { |
| 11 | 12 |
| 12 typedef cdm::ContentDecryptionModule_8 StubCdmInterface; | 13 typedef cdm::ContentDecryptionModule_8 StubCdmInterface; |
| 13 | 14 |
| 14 // Dummy implementation of the cdm::ContentDecryptionModule interface. | 15 // Dummy implementation of the cdm::ContentDecryptionModule interface. |
| 15 class StubCdm : public StubCdmInterface { | 16 class StubCdm : public StubCdmInterface { |
| 16 public: | 17 public: |
| 17 explicit StubCdm(Host* host); | 18 explicit StubCdm(Host* host); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 Host* host_; | 71 Host* host_; |
| 71 | 72 |
| 72 uint32_t next_session_id_; | 73 uint32_t next_session_id_; |
| 73 | 74 |
| 74 DISALLOW_COPY_AND_ASSIGN(StubCdm); | 75 DISALLOW_COPY_AND_ASSIGN(StubCdm); |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 } // namespace media | 78 } // namespace media |
| 78 | 79 |
| 79 #endif // MEDIA_CDM_STUB_STUB_CDM_H_ | 80 #endif // MEDIA_CDM_STUB_STUB_CDM_H_ |
| OLD | NEW |