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

Side by Side Diff: media/cdm/default_cdm_factory.h

Issue 1132773003: Revert of Plumb |use_secure_codecs| through to BrowserCdmFactoryAndroid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « media/blink/webencryptedmediaclient_impl.cc ('k') | media/cdm/default_cdm_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CDM_DEFAULT_CDM_FACTORY_H_ 5 #ifndef MEDIA_CDM_DEFAULT_CDM_FACTORY_H_
6 #define MEDIA_CDM_DEFAULT_CDM_FACTORY_H_ 6 #define MEDIA_CDM_DEFAULT_CDM_FACTORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "media/base/cdm_factory.h" 9 #include "media/base/cdm_factory.h"
10 10
11 namespace media { 11 namespace media {
12 12
13 struct CdmConfig;
14
15 class DefaultCdmFactory : public CdmFactory { 13 class DefaultCdmFactory : public CdmFactory {
16 public: 14 public:
17 DefaultCdmFactory(); 15 DefaultCdmFactory();
18 ~DefaultCdmFactory() final; 16 ~DefaultCdmFactory() final;
19 17
20 // CdmFactory implementation. 18 // CdmFactory implementation.
21 void Create(const std::string& key_system, 19 void Create(const std::string& key_system,
20 bool allow_distinctive_identifier,
21 bool allow_persistent_state,
22 const GURL& security_origin, 22 const GURL& security_origin,
23 const CdmConfig& cdm_config,
24 const SessionMessageCB& session_message_cb, 23 const SessionMessageCB& session_message_cb,
25 const SessionClosedCB& session_closed_cb, 24 const SessionClosedCB& session_closed_cb,
26 const LegacySessionErrorCB& legacy_session_error_cb, 25 const LegacySessionErrorCB& legacy_session_error_cb,
27 const SessionKeysChangeCB& session_keys_change_cb, 26 const SessionKeysChangeCB& session_keys_change_cb,
28 const SessionExpirationUpdateCB& session_expiration_update_cb, 27 const SessionExpirationUpdateCB& session_expiration_update_cb,
29 const CdmCreatedCB& cdm_created_cb) final; 28 const CdmCreatedCB& cdm_created_cb) final;
30 29
31 private: 30 private:
32 DISALLOW_COPY_AND_ASSIGN(DefaultCdmFactory); 31 DISALLOW_COPY_AND_ASSIGN(DefaultCdmFactory);
33 }; 32 };
34 33
35 } // namespace media 34 } // namespace media
36 35
37 #endif // MEDIA_CDM_DEFAULT_CDM_FACTORY_H_ 36 #endif // MEDIA_CDM_DEFAULT_CDM_FACTORY_H_
OLDNEW
« no previous file with comments | « media/blink/webencryptedmediaclient_impl.cc ('k') | media/cdm/default_cdm_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698