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

Unified Diff: chromecast/shell/renderer/key_systems_cast.cc

Issue 638803002: Reorganizes Chromecast code to better reflect functional dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra DEPS: chromecast/crash/android --> chromecast/common Created 6 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/shell/renderer/key_systems_cast.h ('k') | chromecast/shell/renderer/key_systems_cast_simple.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/shell/renderer/key_systems_cast.cc
diff --git a/chromecast/shell/renderer/key_systems_cast.cc b/chromecast/shell/renderer/key_systems_cast.cc
deleted file mode 100644
index a0818d9eb2e147f0ecb6ce444ad2732197bcd838..0000000000000000000000000000000000000000
--- a/chromecast/shell/renderer/key_systems_cast.cc
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2014 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/shell/renderer/key_systems_cast.h"
-
-#include <string>
-
-#include "base/command_line.h"
-#include "base/logging.h"
-#include "chromecast/media/base/key_systems_common.h"
-#include "components/cdm/renderer/widevine_key_systems.h"
-#include "content/public/common/eme_constants.h"
-
-#include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR.
-
-namespace chromecast {
-namespace shell {
-
-void AddKeySystemWithCodecs(
- const std::string& key_system_name,
- std::vector<content::KeySystemInfo>* concrete_key_systems) {
- content::KeySystemInfo info(key_system_name);
- info.supported_codecs = content::EME_CODEC_MP4_ALL;
- concrete_key_systems->push_back(info);
-}
-
-void AddChromecastKeySystems(
- std::vector<content::KeySystemInfo>* key_systems_info) {
-#if defined(WIDEVINE_CDM_AVAILABLE)
- AddWidevineWithCodecs(cdm::WIDEVINE,
- content::EME_CODEC_MP4_ALL,
- key_systems_info);
-#endif
-
-#if defined(PLAYREADY_CDM_AVAILABLE)
- AddKeySystemWithCodecs(media::kChromecastPlayreadyKeySystem,
- key_systems_info);
-#endif
-}
-
-} // namespace shell
-} // namespace chromecast
« no previous file with comments | « chromecast/shell/renderer/key_systems_cast.h ('k') | chromecast/shell/renderer/key_systems_cast_simple.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698