Chromium Code Reviews| Index: chrome/browser/android/chrome_media_client_android.h |
| diff --git a/chrome/browser/android/chrome_media_client_android.h b/chrome/browser/android/chrome_media_client_android.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4d8de320ef937a7be3a752bd4353c7852c878b03 |
| --- /dev/null |
| +++ b/chrome/browser/android/chrome_media_client_android.h |
| @@ -0,0 +1,31 @@ |
| +// 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_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_ |
| +#define CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_ |
| + |
| +#include "base/macros.h" |
| +#include "base/memory/scoped_ptr.h" |
| +#include "media/base/android/media_client_android.h" |
| + |
| +namespace cdm { |
| +class WidevineDrmDelegateAndroid; |
| +} |
| + |
| +class ChromeMediaClientAndroid : public media::MediaClientAndroid { |
| + public: |
| + ChromeMediaClientAndroid(); |
| + ~ChromeMediaClientAndroid() override; |
| + |
| + private: |
| + // media::MediaClientAndroid implementation: |
| + media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate( |
| + const std::vector<uint8_t>& scheme_uuid) const override; |
| + |
| + scoped_ptr<cdm::WidevineDrmDelegateAndroid> widevine_delegate_; |
|
xhwang
2015/04/28 05:25:11
ditto
gunsch
2015/04/28 18:50:51
Same comment.
|
| + |
| + DISALLOW_COPY_AND_ASSIGN(ChromeMediaClientAndroid); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_ |