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

Unified Diff: media/base/browser_cdm_factory.h

Issue 1341883003: Prepare MediaDrmBridge to work with MediaCodecPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bug526755
Patch Set: Cleanup Created 5 years, 3 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
Index: media/base/browser_cdm_factory.h
diff --git a/media/base/browser_cdm_factory.h b/media/base/browser_cdm_factory.h
index 2ccf1b4108a439da9d9e7aaaf78284d0b1f9fff8..4e12d8a310eae1d5018547e98e50ea6f06799d54 100644
--- a/media/base/browser_cdm_factory.h
+++ b/media/base/browser_cdm_factory.h
@@ -19,7 +19,7 @@ class MEDIA_EXPORT BrowserCdmFactory {
BrowserCdmFactory() {}
virtual ~BrowserCdmFactory() {}
- virtual scoped_ptr<BrowserCdm> CreateBrowserCdm(
+ virtual BrowserCdmPtr CreateBrowserCdm(
const std::string& key_system,
bool use_hw_secure_codecs,
const SessionMessageCB& session_message_cb,
@@ -41,7 +41,7 @@ void SetBrowserCdmFactory(BrowserCdmFactory* factory);
// |use_hw_secure_codecs| indicates that the CDM should be configured to use
// hardware-secure codecs (for platforms that support it).
// TODO(xhwang): Add ifdef for IPC based CDM.
-scoped_ptr<BrowserCdm> MEDIA_EXPORT
+BrowserCdmPtr MEDIA_EXPORT
CreateBrowserCdm(const std::string& key_system,
bool use_hw_secure_codecs,
const SessionMessageCB& session_message_cb,

Powered by Google App Engine
This is Rietveld 408576698