Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "media/base/key_system_info.h" | 5 #include "media/base/key_system_info.h" |
| 6 | 6 |
| 7 namespace media { | 7 namespace media { |
| 8 | 8 |
| 9 KeySystemInfo::KeySystemInfo() | |
|
jrummell
2015/02/14 01:28:35
Is this required? I don't see any user of it (alth
ddorwin
2015/02/17 20:56:47
If so, we should consider eliminating the other on
sandersd (OOO until July 31)
2015/02/18 23:41:17
Yup, it's for hash_map.
sandersd (OOO until July 31)
2015/02/18 23:41:17
Done.
| |
| 10 : supported_init_data_types(EME_INIT_DATA_TYPE_NONE), | |
| 11 supported_codecs(EME_CODEC_NONE), | |
| 12 persistent_state_requirement(EME_REQUIREMENT_REQUIRED), | |
| 13 distinctive_identifier_requirement(EME_REQUIREMENT_REQUIRED), | |
| 14 supported_session_types(EME_SESSION_TYPE_NONE), | |
| 15 use_aes_decryptor(false) { | |
| 16 } | |
| 17 | |
| 9 KeySystemInfo::KeySystemInfo(const std::string& key_system) | 18 KeySystemInfo::KeySystemInfo(const std::string& key_system) |
| 10 : key_system(key_system), | 19 : key_system(key_system), |
| 11 supported_init_data_types(EME_INIT_DATA_TYPE_NONE), | 20 supported_init_data_types(EME_INIT_DATA_TYPE_NONE), |
| 12 supported_codecs(EME_CODEC_NONE), | 21 supported_codecs(EME_CODEC_NONE), |
| 22 persistent_state_requirement(EME_REQUIREMENT_REQUIRED), | |
|
ddorwin
2015/02/17 20:56:47
Default to the worst case: For this one, not_allow
sandersd (OOO until July 31)
2015/02/18 23:41:17
Changed to an illegal value with DCHECKS. (For fut
| |
| 23 distinctive_identifier_requirement(EME_REQUIREMENT_REQUIRED), | |
| 24 supported_session_types(EME_SESSION_TYPE_NONE), | |
| 13 use_aes_decryptor(false) { | 25 use_aes_decryptor(false) { |
| 14 } | 26 } |
| 15 | 27 |
| 16 KeySystemInfo::~KeySystemInfo() { | |
| 17 } | |
| 18 | |
| 19 } // namespace media | 28 } // namespace media |
| OLD | NEW |