| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_NET_RTP_RECEIVER_STATS_H_ | 5 #ifndef MEDIA_CAST_NET_RTP_RECEIVER_STATS_H_ |
| 6 #define MEDIA_CAST_NET_RTP_RECEIVER_STATS_H_ | 6 #define MEDIA_CAST_NET_RTP_RECEIVER_STATS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/time/tick_clock.h" | 11 #include "base/time/tick_clock.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "media/cast/common/rtp_time.h" | 13 #include "media/cast/common/rtp_time.h" |
| 14 #include "media/cast/net/rtcp/rtcp.h" | |
| 15 #include "media/cast/net/rtp/rtp_defines.h" | 14 #include "media/cast/net/rtp/rtp_defines.h" |
| 16 | 15 |
| 17 namespace media { | 16 namespace media { |
| 18 namespace cast { | 17 namespace cast { |
| 19 | 18 |
| 20 // TODO(miu): Document this class. | 19 // TODO(miu): Document this class. |
| 21 class ReceiverStats { | 20 class ReceiverStats { |
| 22 public: | 21 public: |
| 23 explicit ReceiverStats(base::TickClock* clock); | 22 explicit ReceiverStats(base::TickClock* clock); |
| 24 | 23 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 42 int interval_number_packets_; | 41 int interval_number_packets_; |
| 43 int interval_wrap_count_; | 42 int interval_wrap_count_; |
| 44 | 43 |
| 45 DISALLOW_COPY_AND_ASSIGN(ReceiverStats); | 44 DISALLOW_COPY_AND_ASSIGN(ReceiverStats); |
| 46 }; | 45 }; |
| 47 | 46 |
| 48 } // namespace cast | 47 } // namespace cast |
| 49 } // namespace media | 48 } // namespace media |
| 50 | 49 |
| 51 #endif // MEDIA_CAST_NET_RTP_RECEIVER_STATS_H_ | 50 #endif // MEDIA_CAST_NET_RTP_RECEIVER_STATS_H_ |
| OLD | NEW |