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

Unified Diff: chrome/common/media/chrome_media_drm_bridge_client.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_media_client_android.cc ('k') | chrome/common/media/chrome_media_drm_bridge_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/media/chrome_media_drm_bridge_client.h
diff --git a/chrome/common/media/chrome_media_drm_bridge_client.h b/chrome/common/media/chrome_media_drm_bridge_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..e7e49ec5d2b0d0e25b50596aeebd922fe004761e
--- /dev/null
+++ b/chrome/common/media/chrome_media_drm_bridge_client.h
@@ -0,0 +1,29 @@
+// Copyright 2015 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.
+
+#ifndef CHROME_COMMON_MEDIA_CHROME_MEDIA_DRM_BRIDGE_CLIENT_H_
+#define CHROME_COMMON_MEDIA_CHROME_MEDIA_DRM_BRIDGE_CLIENT_H_
+
+#include <stdint.h>
+
+#include "base/macros.h"
+#include "components/cdm/common/widevine_drm_delegate_android.h"
+#include "media/base/android/media_drm_bridge_client.h"
+
+class ChromeMediaDrmBridgeClient : public media::MediaDrmBridgeClient {
+ public:
+ ChromeMediaDrmBridgeClient();
+ ~ChromeMediaDrmBridgeClient() override;
+
+ private:
+ // media::MediaDrmBridgeClient implementation:
+ media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate(
+ const std::vector<uint8_t>& scheme_uuid) override;
+
+ cdm::WidevineDrmDelegateAndroid widevine_delegate_;
+
+ DISALLOW_COPY_AND_ASSIGN(ChromeMediaDrmBridgeClient);
+};
+
+#endif // CHROME_COMMON_MEDIA_CHROME_MEDIA_DRM_BRIDGE_CLIENT_H_
« no previous file with comments | « chrome/common/chrome_media_client_android.cc ('k') | chrome/common/media/chrome_media_drm_bridge_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698