Delete unused downloads page asset.
[chromium-blink-merge.git] / media / base / media_client.cc
blobbcc6de0bffe6924952e1d32d3ac8c18a76c319b9
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "media/base/media_client.h"
7 #include "base/logging.h"
9 namespace media {
11 static MediaClient* g_media_client = nullptr;
13 void SetMediaClient(MediaClient* media_client) {
14 g_media_client = media_client;
17 MediaClient* GetMediaClient() {
18 return g_media_client;
21 KeySystemInfoForUMA::KeySystemInfoForUMA(
22 const std::string& key_system,
23 const std::string& key_system_name_for_uma,
24 bool reports_key_system_support_to_uma)
25 : key_system(key_system),
26 key_system_name_for_uma(key_system_name_for_uma),
27 reports_key_system_support_to_uma(reports_key_system_support_to_uma) {
30 KeySystemInfoForUMA::~KeySystemInfoForUMA() {
33 MediaClient::MediaClient() {
36 MediaClient::~MediaClient() {
39 } // namespace media