[Telemetry] Add interaction_record field to Value
[chromium-blink-merge.git] / media / cdm / default_cdm_factory.h
blob18db3a3f50e8d750281b51dec828fc9b8bebc5f3
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.
5 #ifndef MEDIA_CDM_DEFAULT_CDM_FACTORY_H_
6 #define MEDIA_CDM_DEFAULT_CDM_FACTORY_H_
8 #include "base/macros.h"
9 #include "media/base/cdm_factory.h"
11 namespace media {
13 class DefaultCdmFactory : public CdmFactory {
14 public:
15 DefaultCdmFactory();
16 ~DefaultCdmFactory() final;
18 // CdmFactory implementation.
19 scoped_ptr<MediaKeys> Create(
20 const std::string& key_system,
21 const GURL& security_origin,
22 const SessionMessageCB& session_message_cb,
23 const SessionClosedCB& session_closed_cb,
24 const SessionErrorCB& session_error_cb,
25 const SessionKeysChangeCB& session_keys_change_cb,
26 const SessionExpirationUpdateCB& session_expiration_update_cb) final;
28 private:
29 DISALLOW_COPY_AND_ASSIGN(DefaultCdmFactory);
32 } // namespace media
34 #endif // MEDIA_CDM_DEFAULT_CDM_FACTORY_H_