Chromium Code Reviews| 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_CDM_ADAPTER_H_ | 5 #ifndef MEDIA_CDM_PPAPI_CDM_ADAPTER_H_ |
| 6 #define MEDIA_CDM_PPAPI_CDM_ADAPTER_H_ | 6 #define MEDIA_CDM_PPAPI_CDM_ADAPTER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 95 // cdm::Host_2 implementation. | 95 // cdm::Host_2 implementation. |
| 96 virtual void SendPlatformChallenge( | 96 virtual void SendPlatformChallenge( |
| 97 const char* service_id, uint32_t service_id_length, | 97 const char* service_id, uint32_t service_id_length, |
| 98 const char* challenge, uint32_t challenge_length) OVERRIDE; | 98 const char* challenge, uint32_t challenge_length) OVERRIDE; |
| 99 virtual void EnableOutputProtection( | 99 virtual void EnableOutputProtection( |
| 100 uint32_t desired_protection_mask) OVERRIDE; | 100 uint32_t desired_protection_mask) OVERRIDE; |
| 101 virtual void QueryOutputProtectionStatus() OVERRIDE; | 101 virtual void QueryOutputProtectionStatus() OVERRIDE; |
| 102 virtual void OnDeferredInitializationDone( | 102 virtual void OnDeferredInitializationDone( |
| 103 cdm::StreamType stream_type, | 103 cdm::StreamType stream_type, |
| 104 cdm::Status decoder_status) OVERRIDE; | 104 cdm::Status decoder_status) OVERRIDE; |
| 105 virtual cdm::FileIO* CreateFileIO(cdm::FileIOClient* client) OVERRIDE; | |
|
ddorwin
2013/12/14 20:44:04
Reminder to remove.
xhwang
2013/12/16 23:04:29
Done.
| |
| 105 | 106 |
| 106 // cdm::Host_3 implementation. | 107 // cdm::Host_3 implementation. |
| 107 virtual void OnSessionCreated(uint32_t session_id, | 108 virtual void OnSessionCreated(uint32_t session_id, |
| 108 const char* web_session_id, | 109 const char* web_session_id, |
| 109 uint32_t web_session_id_length) OVERRIDE; | 110 uint32_t web_session_id_length) OVERRIDE; |
| 110 virtual void OnSessionMessage(uint32_t session_id, | 111 virtual void OnSessionMessage(uint32_t session_id, |
| 111 const char* message, | 112 const char* message, |
| 112 uint32_t message_length, | 113 uint32_t message_length, |
| 113 const char* destination_url, | 114 const char* destination_url, |
| 114 uint32_t destination_url_length) OVERRIDE; | 115 uint32_t destination_url_length) OVERRIDE; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 204 uint32_t deferred_audio_decoder_config_id_; | 205 uint32_t deferred_audio_decoder_config_id_; |
| 205 bool deferred_initialize_video_decoder_; | 206 bool deferred_initialize_video_decoder_; |
| 206 uint32_t deferred_video_decoder_config_id_; | 207 uint32_t deferred_video_decoder_config_id_; |
| 207 | 208 |
| 208 DISALLOW_COPY_AND_ASSIGN(CdmAdapter); | 209 DISALLOW_COPY_AND_ASSIGN(CdmAdapter); |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 } // namespace media | 212 } // namespace media |
| 212 | 213 |
| 213 #endif // MEDIA_CDM_PPAPI_CDM_ADAPTER_H_ | 214 #endif // MEDIA_CDM_PPAPI_CDM_ADAPTER_H_ |
| OLD | NEW |