OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "content/public/common/cdm_info.h" | 5 #include "content/public/common/cdm_info.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 CdmInfo::CdmInfo(const std::string& type, | 9 CdmInfo::CdmInfo(const std::string& type, |
10 const base::Version& version, | 10 const base::Version& version, |
11 const base::FilePath& path, | 11 const base::FilePath& path, |
12 const std::vector<std::string>& supported_codecs) | 12 const std::vector<std::string>& supported_codecs) |
13 : type(type), | 13 : type(type), |
14 version(version), | 14 version(version), |
15 path(path), | 15 path(path), |
16 supported_codecs(supported_codecs) {} | 16 supported_codecs(supported_codecs) {} |
17 | 17 |
18 CdmInfo::CdmInfo(const CdmInfo& other) = default; | 18 CdmInfo::CdmInfo(const CdmInfo& other) = default; |
19 | 19 |
20 CdmInfo::~CdmInfo() {} | 20 CdmInfo::~CdmInfo() {} |
21 | 21 |
| 22 CdmHostFilePath::CdmHostFilePath(const base::FilePath& file_path, |
| 23 const base::FilePath& sig_file_path) |
| 24 : file_path(file_path), sig_file_path(sig_file_path) {} |
| 25 |
| 26 CdmHostFilePath::~CdmHostFilePath() {} |
| 27 |
22 } // namespace content | 28 } // namespace content |
OLD | NEW |