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

Side by Side Diff: media/cast/logging/logging_defines.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/cast/logging/logging_defines.h ('k') | media/cast/net/rtcp/rtcp_defines.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 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/cast/logging/logging_defines.h" 5 #include "media/cast/logging/logging_defines.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 #define ENUM_TO_STRING(enum) \ 9 #define ENUM_TO_STRING(enum) \
10 case enum: \ 10 case enum: \
(...skipping 25 matching lines...) Expand all
36 : frame_id(kFrameIdUnknown), 36 : frame_id(kFrameIdUnknown),
37 width(0), 37 width(0),
38 height(0), 38 height(0),
39 size(0u), 39 size(0u),
40 type(UNKNOWN), 40 type(UNKNOWN),
41 media_type(UNKNOWN_EVENT), 41 media_type(UNKNOWN_EVENT),
42 key_frame(false), 42 key_frame(false),
43 target_bitrate(0), 43 target_bitrate(0),
44 encoder_cpu_utilization(-1.0), 44 encoder_cpu_utilization(-1.0),
45 idealized_bitrate_utilization(-1.0) {} 45 idealized_bitrate_utilization(-1.0) {}
46 FrameEvent::FrameEvent(const FrameEvent& other) = default;
46 FrameEvent::~FrameEvent() {} 47 FrameEvent::~FrameEvent() {}
47 48
48 PacketEvent::PacketEvent() 49 PacketEvent::PacketEvent()
49 : frame_id(kFrameIdUnknown), 50 : frame_id(kFrameIdUnknown),
50 max_packet_id(0), 51 max_packet_id(0),
51 packet_id(0), 52 packet_id(0),
52 size(0), 53 size(0),
53 type(UNKNOWN), 54 type(UNKNOWN),
54 media_type(UNKNOWN_EVENT) {} 55 media_type(UNKNOWN_EVENT) {}
55 PacketEvent::~PacketEvent() {} 56 PacketEvent::~PacketEvent() {}
56 57
57 } // namespace cast 58 } // namespace cast
58 } // namespace media 59 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/logging/logging_defines.h ('k') | media/cast/net/rtcp/rtcp_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698