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

Side by Side Diff: media/cast/logging/logging_defines.cc

Issue 236123003: Cast: Provide more meaningful stats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile Created 6 years, 7 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/logging/raw_event_subscriber_bundle.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 k##enum: \ 10 case k##enum: \
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 PacketEvent::PacketEvent() 98 PacketEvent::PacketEvent()
99 : rtp_timestamp(0), 99 : rtp_timestamp(0),
100 frame_id(kFrameIdUnknown), 100 frame_id(kFrameIdUnknown),
101 max_packet_id(0), 101 max_packet_id(0),
102 packet_id(0), 102 packet_id(0),
103 size(0), 103 size(0),
104 type(kUnknown) {} 104 type(kUnknown) {}
105 PacketEvent::~PacketEvent() {} 105 PacketEvent::~PacketEvent() {}
106 106
107 FrameLogStats::FrameLogStats()
108 : event_counter(0),
109 sum_size(0) {}
110 FrameLogStats::~FrameLogStats() {}
111
112 PacketLogStats::PacketLogStats()
113 : event_counter(0),
114 sum_size(0) {}
115 PacketLogStats::~PacketLogStats() {}
116
117 } // namespace cast 107 } // namespace cast
118 } // namespace media 108 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/logging/logging_defines.h ('k') | media/cast/logging/raw_event_subscriber_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698