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

Side by Side Diff: android_webview/common/aw_media_client_android.h

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 unified diff | Download patch
OLDNEW
(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 #ifndef ANDROID_WEBVIEW_COMMON_AW_MEDIA_CLIENT_ANDROID_H_
6 #define ANDROID_WEBVIEW_COMMON_AW_MEDIA_CLIENT_ANDROID_H_
7
8 #include "base/macros.h"
9 #include "components/cdm/common/widevine_drm_delegate_android.h"
10 #include "media/base/android/media_client_android.h"
11
12 namespace android_webview {
13
14 class AwMediaClientAndroid : public media::MediaClientAndroid {
15 public:
16 // |key_system_uuid_mappings| is a list of strings containing key-system/UUID
17 // pairs, in the format "key system name,UUID as string".
18 explicit AwMediaClientAndroid(
19 const std::vector<std::string>& key_system_uuid_mappings);
20 ~AwMediaClientAndroid() override;
21
22 private:
23 // media::MediaClientAndroid implementation:
24 void AddKeySystemUUIDMappings(KeySystemUuidMap* map) override;
25 media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate(
26 const media::UUID& scheme_uuid) override;
27
28 std::vector<std::string> key_system_uuid_mappings_;
29 cdm::WidevineDrmDelegateAndroid widevine_delegate_;
30
31 DISALLOW_COPY_AND_ASSIGN(AwMediaClientAndroid);
32 };
33
34 } // namespace android_webview
35
36 #endif // ANDROID_WEBVIEW_COMMON_AW_MEDIA_CLIENT_ANDROID_H_
OLDNEW
« no previous file with comments | « android_webview/common/aw_content_client.cc ('k') | android_webview/common/aw_media_client_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698