Index: media/base/android/browser_cdm_factory_android.h |
diff --git a/media/base/android/browser_cdm_factory_android.h b/media/base/android/browser_cdm_factory_android.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e43e23532cd00dbd809c4f1c52ff87026ad599e6 |
--- /dev/null |
+++ b/media/base/android/browser_cdm_factory_android.h |
@@ -0,0 +1,33 @@ |
+// Copyright 2014 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 MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_ |
+#define MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_ |
+ |
+#include "base/macros.h" |
+#include "media/base/browser_cdm_factory.h" |
+#include "media/base/media_export.h" |
+ |
+namespace media { |
+ |
+class MEDIA_EXPORT BrowserCdmFactoryAndroid : public BrowserCdmFactory { |
+ public: |
+ BrowserCdmFactoryAndroid() {} |
+ ~BrowserCdmFactoryAndroid() final {}; |
+ |
+ scoped_ptr<BrowserCdm> CreateBrowserCdm( |
+ const std::string& key_system, |
+ const BrowserCdm::SessionCreatedCB& session_created_cb, |
+ const BrowserCdm::SessionMessageCB& session_message_cb, |
+ const BrowserCdm::SessionReadyCB& session_ready_cb, |
+ const BrowserCdm::SessionClosedCB& session_closed_cb, |
+ const BrowserCdm::SessionErrorCB& session_error_cb) final; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(BrowserCdmFactoryAndroid); |
+}; |
+ |
+} // namespace media |
+ |
+#endif // MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_ |