Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #ifndef MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ | 5 #ifndef MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ |
| 6 #define MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ | 6 #define MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 | 14 |
| 15 namespace media { | 15 namespace media { |
| 16 namespace cast { | 16 namespace cast { |
| 17 | 17 |
| 18 enum CastLoggingEvent { | 18 enum CastLoggingEvent { |
| 19 // Generic events. | 19 // Generic events. |
| 20 kUnknown, | |
|
mikhal
2013/11/22 21:33:18
should also be added in the .cc
pwestin
2013/11/22 22:50:33
Done.
| |
| 20 kRtt, | 21 kRtt, |
| 21 kPacketLoss, | 22 kPacketLoss, |
| 22 kJitter, | 23 kJitter, |
| 23 kAckReceived, | 24 kAckReceived, |
| 24 kAckSent, | 25 kAckSent, |
| 25 kLastEvent, | 26 kLastEvent, |
| 26 // Audio sender. | 27 // Audio sender. |
| 27 kAudioFrameCaptured, | 28 kAudioFrameCaptured, |
| 28 kAudioFrameEncoded, | 29 kAudioFrameEncoded, |
| 29 // Audio receiver. | 30 // Audio receiver. |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 typedef std::map<CastLoggingEvent, GenericEvent> GenericRawMap; | 102 typedef std::map<CastLoggingEvent, GenericEvent> GenericRawMap; |
| 102 | 103 |
| 103 typedef std::map<CastLoggingEvent, linked_ptr<FrameLogStats > > FrameStatsMap; | 104 typedef std::map<CastLoggingEvent, linked_ptr<FrameLogStats > > FrameStatsMap; |
| 104 typedef std::map<CastLoggingEvent, double> PacketStatsMap; | 105 typedef std::map<CastLoggingEvent, double> PacketStatsMap; |
| 105 typedef std::map<CastLoggingEvent, double> GenericStatsMap; | 106 typedef std::map<CastLoggingEvent, double> GenericStatsMap; |
| 106 | 107 |
| 107 } // namespace cast | 108 } // namespace cast |
| 108 } // namespace media | 109 } // namespace media |
| 109 | 110 |
| 110 #endif // MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ | 111 #endif // MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ |
| OLD | NEW |