| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |