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

Side by Side Diff: media/base/media_client.cc

Issue 1712903002: Remove prefixed EME. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix isRenewalMessage() in browser tests. Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « media/base/media_client.h ('k') | media/base/media_keys.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/media_client.h" 5 #include "media/base/media_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace media { 9 namespace media {
10 10
11 static MediaClient* g_media_client = nullptr; 11 static MediaClient* g_media_client = nullptr;
12 12
13 void SetMediaClient(MediaClient* media_client) { 13 void SetMediaClient(MediaClient* media_client) {
14 g_media_client = media_client; 14 g_media_client = media_client;
15 } 15 }
16 16
17 MediaClient* GetMediaClient() { 17 MediaClient* GetMediaClient() {
18 return g_media_client; 18 return g_media_client;
19 } 19 }
20 20
21 KeySystemInfoForUMA::KeySystemInfoForUMA( 21 KeySystemInfoForUMA::KeySystemInfoForUMA(
22 const std::string& key_system, 22 const std::string& key_system,
23 const std::string& key_system_name_for_uma, 23 const std::string& key_system_name_for_uma)
24 bool reports_key_system_support_to_uma)
25 : key_system(key_system), 24 : key_system(key_system),
26 key_system_name_for_uma(key_system_name_for_uma), 25 key_system_name_for_uma(key_system_name_for_uma) {}
27 reports_key_system_support_to_uma(reports_key_system_support_to_uma) {
28 }
29 26
30 KeySystemInfoForUMA::~KeySystemInfoForUMA() { 27 KeySystemInfoForUMA::~KeySystemInfoForUMA() {
31 } 28 }
32 29
33 MediaClient::MediaClient() { 30 MediaClient::MediaClient() {
34 } 31 }
35 32
36 MediaClient::~MediaClient() { 33 MediaClient::~MediaClient() {
37 } 34 }
38 35
39 } // namespace media 36 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_client.h ('k') | media/base/media_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698