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

Unified Diff: media/cast/cast_config.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/logging/logging_defines.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_config.cc
diff --git a/media/cast/cast_config.cc b/media/cast/cast_config.cc
index f3b1612b74f7c9b0e7b72a79ac0b3d49da522832..1a619fd0703985f49a2ac06d73765ae1a81fb717 100644
--- a/media/cast/cast_config.cc
+++ b/media/cast/cast_config.cc
@@ -58,6 +58,8 @@ VideoSenderConfig::VideoSenderConfig()
codec(CODEC_VIDEO_VP8),
number_of_encode_threads(1) {}
+VideoSenderConfig::VideoSenderConfig(const VideoSenderConfig& other) = default;
+
VideoSenderConfig::~VideoSenderConfig() {}
AudioSenderConfig::AudioSenderConfig()
@@ -72,6 +74,8 @@ AudioSenderConfig::AudioSenderConfig()
bitrate(kDefaultAudioEncoderBitrate),
codec(CODEC_AUDIO_OPUS) {}
+AudioSenderConfig::AudioSenderConfig(const AudioSenderConfig& other) = default;
+
AudioSenderConfig::~AudioSenderConfig() {}
FrameReceiverConfig::FrameReceiverConfig()
@@ -84,6 +88,9 @@ FrameReceiverConfig::FrameReceiverConfig()
target_frame_rate(0),
codec(CODEC_UNKNOWN) {}
+FrameReceiverConfig::FrameReceiverConfig(const FrameReceiverConfig& other) =
+ default;
+
FrameReceiverConfig::~FrameReceiverConfig() {}
} // namespace cast
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/logging/logging_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698