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

Side by Side Diff: webkit/media/crypto/ppapi/clear_key_cdm.cc

Issue 11023004: Update PPP side of Pepper CDM API to support video decoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, CQ'ing. Created 8 years, 2 months 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "webkit/media/crypto/ppapi/clear_key_cdm.h" 5 #include "webkit/media/crypto/ppapi/clear_key_cdm.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 } 228 }
229 229
230 cdm::Status ClearKeyCdm::InitializeVideoDecoder( 230 cdm::Status ClearKeyCdm::InitializeVideoDecoder(
231 const cdm::VideoDecoderConfig& video_decoder_config) { 231 const cdm::VideoDecoderConfig& video_decoder_config) {
232 NOTIMPLEMENTED(); 232 NOTIMPLEMENTED();
233 // TODO(tomfinegan): Determine the proper error to return here once there 233 // TODO(tomfinegan): Determine the proper error to return here once there
234 // are callers for this method. 234 // are callers for this method.
235 return cdm::kSessionError; 235 return cdm::kSessionError;
236 } 236 }
237 237
238 cdm::Status ClearKeyCdm::DecryptAndDecodeVideo( 238 cdm::Status ClearKeyCdm::DecryptAndDecodeFrame(
239 const cdm::InputBuffer& encrypted_buffer, 239 const cdm::InputBuffer& encrypted_buffer,
240 cdm::VideoFrame* video_frame) { 240 cdm::VideoFrame* video_frame) {
241 NOTIMPLEMENTED(); 241 NOTIMPLEMENTED();
242 return cdm::kDecryptError; 242 return cdm::kDecryptError;
243 } 243 }
244 244
245 void ClearKeyCdm::ResetVideoDecoder() { 245 void ClearKeyCdm::ResetVideoDecoder() {
246 NOTIMPLEMENTED(); 246 NOTIMPLEMENTED();
247 } 247 }
248 248
249 void ClearKeyCdm::StopVideoDecoder() { 249 void ClearKeyCdm::StopVideoDecoder() {
250 NOTIMPLEMENTED(); 250 NOTIMPLEMENTED();
251 } 251 }
252 252
253 } // namespace webkit_media 253 } // namespace webkit_media
OLDNEW
« no previous file with comments | « webkit/media/crypto/ppapi/clear_key_cdm.h ('k') | webkit/media/crypto/ppapi/content_decryption_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698