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

Unified Diff: media/cast/rtp_receiver/receiver_stats.h

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/rtp_receiver/mock_rtp_payload_feedback.cc ('k') | media/cast/rtp_receiver/receiver_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtp_receiver/receiver_stats.h
diff --git a/media/cast/rtp_receiver/receiver_stats.h b/media/cast/rtp_receiver/receiver_stats.h
deleted file mode 100644
index 05a067f78707c622eff3fe09c024ed5e2e5c6f34..0000000000000000000000000000000000000000
--- a/media/cast/rtp_receiver/receiver_stats.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_CAST_RTP_RECEIVER_RECEIVER_STATS_H_
-#define MEDIA_CAST_RTP_RECEIVER_RECEIVER_STATS_H_
-
-#include "base/time/tick_clock.h"
-#include "base/time/time.h"
-#include "media/cast/rtcp/rtcp.h"
-#include "media/cast/rtp_receiver/rtp_receiver_defines.h"
-
-namespace media {
-namespace cast {
-
-class ReceiverStats : public RtpReceiverStatistics {
- public:
- explicit ReceiverStats(base::TickClock* clock);
- virtual ~ReceiverStats() OVERRIDE;
-
- virtual void GetStatistics(uint8* fraction_lost,
- uint32* cumulative_lost, // 24 bits valid.
- uint32* extended_high_sequence_number,
- uint32* jitter) OVERRIDE;
- void UpdateStatistics(const RtpCastHeader& header);
-
- private:
- base::TickClock* const clock_; // Not owned by this class.
-
- // Global metrics.
- uint16 min_sequence_number_;
- uint16 max_sequence_number_;
- uint32 total_number_packets_;
- uint16 sequence_number_cycles_;
- base::TimeDelta last_received_timestamp_;
- base::TimeTicks last_received_packet_time_;
- base::TimeDelta jitter_;
-
- // Intermediate metrics - between RTCP reports.
- int interval_min_sequence_number_;
- int interval_number_packets_;
- int interval_wrap_count_;
-
- DISALLOW_COPY_AND_ASSIGN(ReceiverStats);
-};
-
-} // namespace cast
-} // namespace media
-
-#endif // MEDIA_CAST_RTP_RECEIVER_RECEIVER_STATS_H_
« no previous file with comments | « media/cast/rtp_receiver/mock_rtp_payload_feedback.cc ('k') | media/cast/rtp_receiver/receiver_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698