Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #ifndef MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_ | 5 #ifndef MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_ |
| 6 #define MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_ | 6 #define MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "media/base/browser_cdm_factory.h" | 9 #include "media/base/browser_cdm_factory.h" |
| 10 #include "media/base/media_export.h" | 10 #include "media/base/media_export.h" |
| 11 | 11 |
| 12 namespace net { | |
| 13 class URLRequestContextGetter; | |
|
xhwang
2015/11/02 20:37:04
Why do we need this here?
Tima Vaisburd
2015/11/05 02:24:07
Removed.
| |
| 14 } | |
| 15 | |
| 12 namespace media { | 16 namespace media { |
| 13 | 17 |
| 14 class MEDIA_EXPORT BrowserCdmFactoryAndroid : public BrowserCdmFactory { | 18 class MEDIA_EXPORT BrowserCdmFactoryAndroid : public BrowserCdmFactory { |
| 15 public: | 19 public: |
| 16 BrowserCdmFactoryAndroid() {} | 20 BrowserCdmFactoryAndroid() {} |
| 17 ~BrowserCdmFactoryAndroid() final {}; | 21 ~BrowserCdmFactoryAndroid() final {}; |
| 18 | 22 |
| 19 ScopedBrowserCdmPtr CreateBrowserCdm( | 23 ScopedBrowserCdmPtr CreateBrowserCdm( |
| 20 const std::string& key_system, | 24 const std::string& key_system, |
| 21 bool use_hw_secure_codecs, | 25 bool use_hw_secure_codecs, |
| 22 const SessionMessageCB& session_message_cb, | 26 const SessionMessageCB& session_message_cb, |
| 23 const SessionClosedCB& session_closed_cb, | 27 const SessionClosedCB& session_closed_cb, |
| 24 const LegacySessionErrorCB& legacy_session_error_cb, | 28 const LegacySessionErrorCB& legacy_session_error_cb, |
| 25 const SessionKeysChangeCB& session_keys_change_cb, | 29 const SessionKeysChangeCB& session_keys_change_cb, |
| 26 const SessionExpirationUpdateCB& session_expiration_update_cb) final; | 30 const SessionExpirationUpdateCB& session_expiration_update_cb) final; |
| 27 | 31 |
| 28 private: | 32 private: |
| 29 DISALLOW_COPY_AND_ASSIGN(BrowserCdmFactoryAndroid); | 33 DISALLOW_COPY_AND_ASSIGN(BrowserCdmFactoryAndroid); |
| 30 }; | 34 }; |
| 31 | 35 |
| 32 } // namespace media | 36 } // namespace media |
| 33 | 37 |
| 34 #endif // MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_ | 38 #endif // MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_ |
| OLD | NEW |