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

Side by Side Diff: media/base/cdm_key_information.cc

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, 10 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.h ('k') | media/base/key_system_info.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/stl_util.h" 5 #include "base/stl_util.h"
6 #include "media/base/cdm_key_information.h" 6 #include "media/base/cdm_key_information.h"
7 7
8 namespace media { 8 namespace media {
9 9
10 CdmKeyInformation::CdmKeyInformation() 10 CdmKeyInformation::CdmKeyInformation()
(...skipping 14 matching lines...) Expand all
25 system_code) {} 25 system_code) {}
26 26
27 CdmKeyInformation::CdmKeyInformation(const uint8_t* key_id_data, 27 CdmKeyInformation::CdmKeyInformation(const uint8_t* key_id_data,
28 size_t key_id_length, 28 size_t key_id_length,
29 KeyStatus status, 29 KeyStatus status,
30 uint32_t system_code) 30 uint32_t system_code)
31 : key_id(key_id_data, key_id_data + key_id_length), 31 : key_id(key_id_data, key_id_data + key_id_length),
32 status(status), 32 status(status),
33 system_code(system_code) {} 33 system_code(system_code) {}
34 34
35 CdmKeyInformation::CdmKeyInformation(const CdmKeyInformation& other) = default;
36
35 CdmKeyInformation::~CdmKeyInformation() { 37 CdmKeyInformation::~CdmKeyInformation() {
36 } 38 }
37 39
38 } // namespace media 40 } // namespace media
OLDNEW
« no previous file with comments | « media/base/cdm_key_information.h ('k') | media/base/key_system_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698