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

Side by Side Diff: media/base/audio_video_metadata_extractor.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/audio_video_metadata_extractor.h ('k') | media/base/bitstream_buffer.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 2014 The Chromium Authors. All rights reserved. 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 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/audio_video_metadata_extractor.h" 5 #include "media/base/audio_video_metadata_extractor.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 return true; 47 return true;
48 } 48 }
49 49
50 // Set attached image size limit to 4MB. Chosen arbitrarily. 50 // Set attached image size limit to 4MB. Chosen arbitrarily.
51 const int kAttachedImageSizeLimit = 4 * 1024 * 1024; 51 const int kAttachedImageSizeLimit = 4 * 1024 * 1024;
52 52
53 } // namespace 53 } // namespace
54 54
55 AudioVideoMetadataExtractor::StreamInfo::StreamInfo() {} 55 AudioVideoMetadataExtractor::StreamInfo::StreamInfo() {}
56 56
57 AudioVideoMetadataExtractor::StreamInfo::StreamInfo(const StreamInfo& other) =
58 default;
59
57 AudioVideoMetadataExtractor::StreamInfo::~StreamInfo() {} 60 AudioVideoMetadataExtractor::StreamInfo::~StreamInfo() {}
58 61
59 AudioVideoMetadataExtractor::AudioVideoMetadataExtractor() 62 AudioVideoMetadataExtractor::AudioVideoMetadataExtractor()
60 : extracted_(false), 63 : extracted_(false),
61 duration_(-1), 64 duration_(-1),
62 width_(-1), 65 width_(-1),
63 height_(-1), 66 height_(-1),
64 disc_(-1), 67 disc_(-1),
65 rotation_(-1), 68 rotation_(-1),
66 track_(-1) { 69 track_(-1) {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 if (ExtractString(tag, "encoder", &encoder_)) continue; 255 if (ExtractString(tag, "encoder", &encoder_)) continue;
253 if (ExtractString(tag, "encoded_by", &encoded_by_)) continue; 256 if (ExtractString(tag, "encoded_by", &encoded_by_)) continue;
254 if (ExtractString(tag, "genre", &genre_)) continue; 257 if (ExtractString(tag, "genre", &genre_)) continue;
255 if (ExtractString(tag, "language", &language_)) continue; 258 if (ExtractString(tag, "language", &language_)) continue;
256 if (ExtractString(tag, "title", &title_)) continue; 259 if (ExtractString(tag, "title", &title_)) continue;
257 if (ExtractInt(tag, "track", &track_)) continue; 260 if (ExtractInt(tag, "track", &track_)) continue;
258 } 261 }
259 } 262 }
260 263
261 } // namespace media 264 } // namespace media
OLDNEW
« no previous file with comments | « media/base/audio_video_metadata_extractor.h ('k') | media/base/bitstream_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698