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

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

Issue 164253003: Cast: Split kDuplicatePacketReceived into separate events for audio/video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/logging/proto/proto_utils.cc » ('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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ENUM_TO_STRING(VideoFrameReceived); 56 ENUM_TO_STRING(VideoFrameReceived);
57 ENUM_TO_STRING(VideoFrameSentToEncoder); 57 ENUM_TO_STRING(VideoFrameSentToEncoder);
58 ENUM_TO_STRING(VideoFrameEncoded); 58 ENUM_TO_STRING(VideoFrameEncoded);
59 ENUM_TO_STRING(VideoFrameDecoded); 59 ENUM_TO_STRING(VideoFrameDecoded);
60 ENUM_TO_STRING(VideoRenderDelay); 60 ENUM_TO_STRING(VideoRenderDelay);
61 ENUM_TO_STRING(PacketSentToPacer); 61 ENUM_TO_STRING(PacketSentToPacer);
62 ENUM_TO_STRING(PacketSentToNetwork); 62 ENUM_TO_STRING(PacketSentToNetwork);
63 ENUM_TO_STRING(PacketRetransmitted); 63 ENUM_TO_STRING(PacketRetransmitted);
64 ENUM_TO_STRING(AudioPacketReceived); 64 ENUM_TO_STRING(AudioPacketReceived);
65 ENUM_TO_STRING(VideoPacketReceived); 65 ENUM_TO_STRING(VideoPacketReceived);
66 ENUM_TO_STRING(DuplicatePacketReceived); 66 ENUM_TO_STRING(DuplicateAudioPacketReceived);
67 ENUM_TO_STRING(DuplicateVideoPacketReceived);
67 case kNumOfLoggingEvents: 68 case kNumOfLoggingEvents:
68 NOTREACHED(); 69 NOTREACHED();
69 return ""; 70 return "";
70 } 71 }
71 NOTREACHED(); 72 NOTREACHED();
72 return ""; 73 return "";
73 } 74 }
74 75
75 FrameEvent::FrameEvent() 76 FrameEvent::FrameEvent()
76 : rtp_timestamp(0u), frame_id(kFrameIdUnknown), size(0u), type(kUnknown) {} 77 : rtp_timestamp(0u), frame_id(kFrameIdUnknown), size(0u), type(kUnknown) {}
(...skipping 24 matching lines...) Expand all
101 GenericLogStats::GenericLogStats() 102 GenericLogStats::GenericLogStats()
102 : event_counter(0), 103 : event_counter(0),
103 sum(0), 104 sum(0),
104 sum_squared(0), 105 sum_squared(0),
105 min(0), 106 min(0),
106 max(0) {} 107 max(0) {}
107 GenericLogStats::~GenericLogStats() {} 108 GenericLogStats::~GenericLogStats() {}
108 } // namespace cast 109 } // namespace cast
109 } // namespace media 110 } // namespace media
110 111
OLDNEW
« no previous file with comments | « media/cast/logging/logging_defines.h ('k') | media/cast/logging/proto/proto_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698