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

Unified Diff: media/cast/transport/rtp_sender/rtp_sender.cc

Issue 100823015: Cast: move net->transport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean up Created 7 years 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
Index: media/cast/transport/rtp_sender/rtp_sender.cc
diff --git a/media/cast/net/rtp_sender/rtp_sender.cc b/media/cast/transport/rtp_sender/rtp_sender.cc
similarity index 95%
rename from media/cast/net/rtp_sender/rtp_sender.cc
rename to media/cast/transport/rtp_sender/rtp_sender.cc
index 2b017bc178442cc1e832ed3a0ea6e0e41b73b30f..c00e0eb001fb1291ee5696f3d6b4445dcea1c3f1 100644
--- a/media/cast/net/rtp_sender/rtp_sender.cc
+++ b/media/cast/transport/rtp_sender/rtp_sender.cc
@@ -2,17 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "media/cast/net/rtp_sender/rtp_sender.h"
+#include "media/cast/transport/rtp_sender/rtp_sender.h"
#include "base/logging.h"
#include "base/rand_util.h"
#include "media/cast/cast_defines.h"
-#include "media/cast/net/pacing/paced_sender.h"
#include "media/cast/rtcp/rtcp_defines.h"
+#include "media/cast/transport/pacing/paced_sender.h"
#include "net/base/big_endian.h"
namespace media {
namespace cast {
+namespace transport {
RtpSender::RtpSender(scoped_refptr<CastEnvironment> cast_environment,
const AudioSenderConfig* audio_config,
@@ -117,7 +118,7 @@ void RtpSender::UpdateSequenceNumber(Packet* packet) {
}
void RtpSender::RtpStatistics(const base::TimeTicks& now,
- RtcpSenderInfo* sender_info) {
+ media::cast::RtcpSenderInfo* sender_info) {
// The timestamp of this Rtcp packet should be estimated as the timestamp of
// the frame being captured at this moment. We are calculating that
// timestamp as the last frame's timestamp + the time since the last frame
@@ -141,5 +142,6 @@ void RtpSender::RtpStatistics(const base::TimeTicks& now,
sender_info->send_octet_count = packetizer_->send_octet_count();
}
+} // namespace transport
} // namespace cast
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698