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

Side by Side Diff: media/base/key_system_info.h

Issue 1731403002: media: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/base/cdm_key_information.cc ('k') | media/base/key_system_info.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 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 #ifndef MEDIA_BASE_KEY_SYSTEM_INFO_H_ 5 #ifndef MEDIA_BASE_KEY_SYSTEM_INFO_H_
6 #define MEDIA_BASE_KEY_SYSTEM_INFO_H_ 6 #define MEDIA_BASE_KEY_SYSTEM_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 16 matching lines...) Expand all
27 // A key system string that is one level up from the child key system. It may 27 // A key system string that is one level up from the child key system. It may
28 // be an abstract key system. 28 // be an abstract key system.
29 // As an example, "com.example" is the parent of "com.example.foo". 29 // As an example, "com.example" is the parent of "com.example.foo".
30 30
31 namespace media { 31 namespace media {
32 32
33 // Contains information about an EME key system as well as how to instantiate 33 // Contains information about an EME key system as well as how to instantiate
34 // the corresponding CDM. 34 // the corresponding CDM.
35 struct MEDIA_EXPORT KeySystemInfo { 35 struct MEDIA_EXPORT KeySystemInfo {
36 KeySystemInfo(); 36 KeySystemInfo();
37 KeySystemInfo(const KeySystemInfo& other);
37 ~KeySystemInfo(); 38 ~KeySystemInfo();
38 39
39 std::string key_system; 40 std::string key_system;
40 41
41 InitDataTypeMask supported_init_data_types = kInitDataTypeMaskNone; 42 InitDataTypeMask supported_init_data_types = kInitDataTypeMaskNone;
42 SupportedCodecs supported_codecs = EME_CODEC_NONE; 43 SupportedCodecs supported_codecs = EME_CODEC_NONE;
43 #if defined(OS_ANDROID) 44 #if defined(OS_ANDROID)
44 SupportedCodecs supported_secure_codecs = EME_CODEC_NONE; 45 SupportedCodecs supported_secure_codecs = EME_CODEC_NONE;
45 #endif // defined(OS_ANDROID) 46 #endif // defined(OS_ANDROID)
46 EmeRobustness max_audio_robustness = EmeRobustness::INVALID; 47 EmeRobustness max_audio_robustness = EmeRobustness::INVALID;
(...skipping 13 matching lines...) Expand all
60 // The following indicate how the corresponding CDM should be instantiated. 61 // The following indicate how the corresponding CDM should be instantiated.
61 bool use_aes_decryptor = false; 62 bool use_aes_decryptor = false;
62 #if defined(ENABLE_PEPPER_CDMS) 63 #if defined(ENABLE_PEPPER_CDMS)
63 std::string pepper_type; 64 std::string pepper_type;
64 #endif 65 #endif
65 }; 66 };
66 67
67 } // namespace media 68 } // namespace media
68 69
69 #endif // MEDIA_BASE_KEY_SYSTEM_INFO_H_ 70 #endif // MEDIA_BASE_KEY_SYSTEM_INFO_H_
OLDNEW
« no previous file with comments | « media/base/cdm_key_information.cc ('k') | media/base/key_system_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698