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

Side by Side Diff: media/base/android/browser_cdm_factory_android.h

Issue 774423002: Provides method for setting a BrowserCdmFactory for IPC-based CDM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include base/logging.h Created 6 years 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 unified diff | Download patch
« no previous file with comments | « media/base/android/BUILD.gn ('k') | media/base/android/browser_cdm_factory_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_
6 #define MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_
7
8 #include "base/macros.h"
9 #include "media/base/browser_cdm_factory.h"
10 #include "media/base/media_export.h"
11
12 namespace media {
13
14 class MEDIA_EXPORT BrowserCdmFactoryAndroid : public BrowserCdmFactory {
15 public:
16 BrowserCdmFactoryAndroid() {}
17 ~BrowserCdmFactoryAndroid() final {};
18
19 scoped_ptr<BrowserCdm> CreateBrowserCdm(
20 const std::string& key_system,
21 const BrowserCdm::SessionCreatedCB& session_created_cb,
22 const BrowserCdm::SessionMessageCB& session_message_cb,
23 const BrowserCdm::SessionReadyCB& session_ready_cb,
24 const BrowserCdm::SessionClosedCB& session_closed_cb,
25 const BrowserCdm::SessionErrorCB& session_error_cb) final;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(BrowserCdmFactoryAndroid);
29 };
30
31 } // namespace media
32
33 #endif // MEDIA_BASE_BROWSER_CDM_FACTORY_ANDROID_H_
OLDNEW
« no previous file with comments | « media/base/android/BUILD.gn ('k') | media/base/android/browser_cdm_factory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698