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

Unified Diff: components/cdm/browser/cdm_message_filter_android.cc

Issue 1472943002: Refactor MediaCodecBridge to add support for NDK APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crazy linker issue Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cdm/browser/cdm_message_filter_android.cc
diff --git a/components/cdm/browser/cdm_message_filter_android.cc b/components/cdm/browser/cdm_message_filter_android.cc
index e9399f618985a77c832e2abc8e72176ce3a40575..14043e1cbf1a4f5344ffc1f727daa3a222e438b1 100644
--- a/components/cdm/browser/cdm_message_filter_android.cc
+++ b/components/cdm/browser/cdm_message_filter_android.cc
@@ -9,11 +9,10 @@
#include "components/cdm/common/cdm_messages_android.h"
#include "ipc/ipc_message_macros.h"
-#include "media/base/android/media_codec_bridge.h"
+#include "media/base/android/media_codec_util.h"
#include "media/base/android/media_drm_bridge.h"
using content::BrowserThread;
-using media::MediaCodecBridge;
using media::MediaDrmBridge;
using media::SupportedCodecs;
@@ -59,7 +58,7 @@ static SupportedCodecs GetSupportedCodecs(
if ((request.codecs & info.codec) &&
MediaDrmBridge::IsKeySystemSupportedWithType(
key_system, info.container_mime_type) &&
- MediaCodecBridge::CanDecode(info.codec_name, is_secure)) {
+ media::MediaCodecUtil::CanDecode(info.codec_name, is_secure)) {
supported_codecs |= info.codec;
}
}
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698