Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Side by Side Diff: media/cdm/ppapi/cdm_adapter.h

Issue 93243003: Add CDM FileIO tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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/11 21:16:17 This needs to move down to Host_3.
xhwang 2013/12/13 02:51:47 ClearKeyCdm is still using Host_2. I'll do this la
105 106
106 // cdm::Host_3 implementation. 107 // cdm::Host_3 implementation.
107 virtual void OnSessionCreated(uint32_t reference_id, 108 virtual void OnSessionCreated(uint32_t reference_id,
108 const char* session_id, 109 const char* session_id,
109 uint32_t session_id_length) OVERRIDE; 110 uint32_t session_id_length) OVERRIDE;
110 virtual void OnSessionMessage(uint32_t reference_id, 111 virtual void OnSessionMessage(uint32_t reference_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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698