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

Side by Side Diff: media/cast/net/rtp/receiver_stats.cc

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/net/rtp/receiver_stats.h ('k') | media/cast/net/rtp/receiver_stats_unittest.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/rtp_receiver/receiver_stats.h" 5 #include "media/cast/net/rtp/receiver_stats.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" 8 #include "media/cast/net/rtp/rtp_receiver_defines.h"
9 9
10 namespace media { 10 namespace media {
11 namespace cast { 11 namespace cast {
12 12
13 static const uint32 kMaxSequenceNumber = 65536; 13 static const uint32 kMaxSequenceNumber = 65536;
14 14
15 ReceiverStats::ReceiverStats(base::TickClock* clock) 15 ReceiverStats::ReceiverStats(base::TickClock* clock)
16 : clock_(clock), 16 : clock_(clock),
17 min_sequence_number_(0), 17 min_sequence_number_(0),
18 max_sequence_number_(0), 18 max_sequence_number_(0),
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 last_received_timestamp_ = delta_new_timestamp; 110 last_received_timestamp_ = delta_new_timestamp;
111 last_received_packet_time_ = now; 111 last_received_packet_time_ = now;
112 112
113 // Increment counters. 113 // Increment counters.
114 ++total_number_packets_; 114 ++total_number_packets_;
115 ++interval_number_packets_; 115 ++interval_number_packets_;
116 } 116 }
117 117
118 } // namespace cast 118 } // namespace cast
119 } // namespace media 119 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/net/rtp/receiver_stats.h ('k') | media/cast/net/rtp/receiver_stats_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698