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

Unified Diff: chrome/browser/media/cast_transport_host_filter_unittest.cc

Issue 765643006: Cast: Make receiver use cast_transport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix end2end test Created 6 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: chrome/browser/media/cast_transport_host_filter_unittest.cc
diff --git a/chrome/browser/media/cast_transport_host_filter_unittest.cc b/chrome/browser/media/cast_transport_host_filter_unittest.cc
index 944442f9755cf9c3e65e7e3f72381de053124cff..1adc1aab87f875651a403a9299a69e53015f7943 100644
--- a/chrome/browser/media/cast_transport_host_filter_unittest.cc
+++ b/chrome/browser/media/cast_transport_host_filter_unittest.cc
@@ -42,7 +42,10 @@ class CastTransportHostFilterTest : public testing::Test {
TEST_F(CastTransportHostFilterTest, NewDelete) {
const int kChannelId = 17;
- CastHostMsg_New new_msg(kChannelId, receive_endpoint_, options_);
+ CastHostMsg_New new_msg(kChannelId,
+ receive_endpoint_,
+ net::IPEndPoint(),
+ options_);
CastHostMsg_Delete delete_msg(kChannelId);
// New, then delete, as expected.
@@ -65,7 +68,7 @@ TEST_F(CastTransportHostFilterTest, NewDelete) {
TEST_F(CastTransportHostFilterTest, NewMany) {
for (int i = 0; i < 100; i++) {
- CastHostMsg_New new_msg(i, receive_endpoint_, options_);
+ CastHostMsg_New new_msg(i, receive_endpoint_, net::IPEndPoint(), options_);
FakeSend(new_msg);
}
@@ -80,7 +83,10 @@ TEST_F(CastTransportHostFilterTest, NewMany) {
TEST_F(CastTransportHostFilterTest, SimpleMessages) {
// Create a cast transport sender.
const int32 kChannelId = 42;
- CastHostMsg_New new_msg(kChannelId, receive_endpoint_, options_);
+ CastHostMsg_New new_msg(kChannelId,
+ receive_endpoint_,
+ net::IPEndPoint(),
+ options_);
FakeSend(new_msg);
media::cast::CastTransportRtpConfig audio_config;

Powered by Google App Engine
This is Rietveld 408576698