OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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. |
| 4 |
| 5 #include "media/base/android/media_client_android.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 |
| 9 namespace media { |
| 10 |
| 11 static MediaClientAndroid* g_media_client = nullptr; |
| 12 |
| 13 void SetMediaClientAndroid(MediaClientAndroid* media_client) { |
| 14 DCHECK(!g_media_client); |
| 15 g_media_client = media_client; |
| 16 } |
| 17 |
| 18 MediaClientAndroid* GetMediaClientAndroid() { |
| 19 return g_media_client; |
| 20 } |
| 21 |
| 22 MediaClientAndroid::MediaClientAndroid() { |
| 23 } |
| 24 |
| 25 MediaClientAndroid::~MediaClientAndroid() { |
| 26 } |
| 27 |
| 28 std::vector<std::pair<std::string, std::vector<uint8_t>>> |
| 29 MediaClientAndroid::GetKeySystemUUIDMappings() const { |
| 30 return std::vector<std::pair<std::string, std::vector<uint8_t>>>(); |
| 31 } |
| 32 |
| 33 media::MediaDrmBridgeDelegate* MediaClientAndroid::GetMediaDrmBridgeDelegate( |
| 34 const std::vector<uint8_t>& scheme_uuid) const { |
| 35 return nullptr; |
| 36 } |
| 37 |
| 38 |
| 39 } // namespace media |
OLD | NEW |