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

Unified Diff: chromecast/common/media/cast_media_client_android.cc

Issue 2756333002: Rename MediaClientAndroid to MediaDrmBridgeClient (Closed)
Patch Set: Fix .h guards Created 3 years, 9 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
Index: chromecast/common/media/cast_media_client_android.cc
diff --git a/chromecast/common/media/cast_media_client_android.cc b/chromecast/common/media/cast_media_client_android.cc
deleted file mode 100644
index f6d26d677c8fd4a8f21ca44d05fd24407fc07ac7..0000000000000000000000000000000000000000
--- a/chromecast/common/media/cast_media_client_android.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chromecast/common/media/cast_media_client_android.h"
-
-#include "chromecast/media/base/key_systems_common.h"
-
-namespace chromecast {
-namespace media {
-
-CastMediaClientAndroid::CastMediaClientAndroid() {}
-
-CastMediaClientAndroid::~CastMediaClientAndroid() {}
-
-void CastMediaClientAndroid::AddKeySystemUUIDMappings(KeySystemUuidMap* map) {
-// Note: MediaDrmBridge adds the Widevine UUID mapping automatically.
-#if defined(PLAYREADY_CDM_AVAILABLE)
- (*map)[kChromecastPlayreadyKeySystem] = playready_delegate_.GetUUID();
-#endif
-}
-
-::media::MediaDrmBridgeDelegate*
-CastMediaClientAndroid::GetMediaDrmBridgeDelegate(
- const ::media::UUID& scheme_uuid) {
-#if defined(PLAYREADY_CDM_AVAILABLE)
- if (scheme_uuid == playready_delegate_.GetUUID())
- return &playready_delegate_;
-#endif
-
- if (scheme_uuid == widevine_delegate_.GetUUID())
- return &widevine_delegate_;
-
- return nullptr;
-}
-
-} // namespace media
-} // namespace chromecast
« no previous file with comments | « chromecast/common/media/cast_media_client_android.h ('k') | chromecast/common/media/cast_media_drm_bridge_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698