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 <stdint.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "media/cdm/api/content_decryption_module.h" | 11 #include "media/cdm/api/content_decryption_module.h" |
10 | 12 |
11 namespace media { | 13 namespace media { |
12 | 14 |
13 typedef cdm::ContentDecryptionModule_8 StubCdmInterface; | 15 typedef cdm::ContentDecryptionModule_8 StubCdmInterface; |
14 | 16 |
15 // Dummy implementation of the cdm::ContentDecryptionModule interface. | 17 // Dummy implementation of the cdm::ContentDecryptionModule interface. |
16 class StubCdm : public StubCdmInterface { | 18 class StubCdm : public StubCdmInterface { |
17 public: | 19 public: |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 Host* host_; | 73 Host* host_; |
72 | 74 |
73 uint32_t next_session_id_; | 75 uint32_t next_session_id_; |
74 | 76 |
75 DISALLOW_COPY_AND_ASSIGN(StubCdm); | 77 DISALLOW_COPY_AND_ASSIGN(StubCdm); |
76 }; | 78 }; |
77 | 79 |
78 } // namespace media | 80 } // namespace media |
79 | 81 |
80 #endif // MEDIA_CDM_STUB_STUB_CDM_H_ | 82 #endif // MEDIA_CDM_STUB_STUB_CDM_H_ |
OLD | NEW |