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

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

Issue 11028087: Add decoder de-initialize and reset to the Pepper CDM API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renaming and generalizing done... 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 return cdm::kSessionError; 235 return cdm::kSessionError;
236 } 236 }
237 237
238 cdm::Status ClearKeyCdm::DecryptAndDecodeFrame( 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::ResetDecoder(cdm::StreamType) {
246 NOTIMPLEMENTED(); 246 NOTIMPLEMENTED();
247 } 247 }
248 248
249 void ClearKeyCdm::StopVideoDecoder() { 249 void ClearKeyCdm::DeinitializeDecoder(cdm::StreamType) {
250 NOTIMPLEMENTED(); 250 NOTIMPLEMENTED();
251 } 251 }
252 252
253 } // namespace webkit_media 253 } // namespace webkit_media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698