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

Unified Diff: chromecast/media/base/decrypt_context_impl.cc

Issue 2450563002: [Chromecast] Change DecryptContext Decrypt API (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/media/base/decrypt_context_impl.h ('k') | chromecast/public/media/decrypt_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/base/decrypt_context_impl.cc
diff --git a/chromecast/media/base/decrypt_context_impl.cc b/chromecast/media/base/decrypt_context_impl.cc
index cc04405785f9fcf4f375297fcd103463b56dc764..07cd81e6540bbb0021d243efeaf08f91677828d9 100644
--- a/chromecast/media/base/decrypt_context_impl.cc
+++ b/chromecast/media/base/decrypt_context_impl.cc
@@ -32,12 +32,6 @@ CastKeySystem DecryptContextImpl::GetKeySystem() {
}
bool DecryptContextImpl::Decrypt(CastDecoderBuffer* buffer,
- std::vector<uint8_t>* output) {
- output->resize(buffer->data_size());
- return Decrypt(buffer, output->data(), 0);
-}
-
-bool DecryptContextImpl::Decrypt(CastDecoderBuffer* buffer,
uint8_t* output,
size_t data_offset) {
bool called = false;
« no previous file with comments | « chromecast/media/base/decrypt_context_impl.h ('k') | chromecast/public/media/decrypt_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698