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 0332dd4f98ce0baff128dd126d483c34c9fe333d..b120fe6c129a2d2d1d587db841784a0c6a53c35e 100644 |
--- a/chrome/browser/media/cast_transport_host_filter_unittest.cc |
+++ b/chrome/browser/media/cast_transport_host_filter_unittest.cc |
@@ -7,6 +7,7 @@ |
#include "base/time/default_tick_clock.h" |
#include "chrome/browser/media/cast_transport_host_filter.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
+#include "media/cast/logging/logging_defines.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace { |
@@ -52,8 +53,9 @@ TEST_F(CastTransportHostFilterTest, NewDelete) { |
media::cast::transport::CastTransportConfig config; |
config.local_endpoint = GetLocalEndPoint(); |
config.receiver_endpoint = GetRemoteEndPoint(); |
+ media::cast::CastLoggingConfig logging_config; |
const int kChannelId = 17; |
- CastHostMsg_New new_msg(kChannelId, config); |
+ CastHostMsg_New new_msg(kChannelId, config, logging_config); |
CastHostMsg_Delete delete_msg(kChannelId); |
// New, then delete, as expected. |
@@ -76,11 +78,12 @@ TEST_F(CastTransportHostFilterTest, NewDelete) { |
TEST_F(CastTransportHostFilterTest, NewMany) { |
media::cast::transport::CastTransportConfig config; |
+ media::cast::CastLoggingConfig logging_config; |
config.local_endpoint = GetLocalEndPoint(); |
config.receiver_endpoint = GetRemoteEndPoint(); |
for (int i = 0; i < 100; i++) { |
- CastHostMsg_New new_msg(i, config); |
+ CastHostMsg_New new_msg(i, config, logging_config); |
FakeSend(new_msg); |
} |
@@ -97,8 +100,9 @@ TEST_F(CastTransportHostFilterTest, SimpleMessages) { |
media::cast::transport::CastTransportConfig config; |
config.local_endpoint = GetLocalEndPoint(); |
config.receiver_endpoint = GetRemoteEndPoint(); |
+ media::cast::CastLoggingConfig logging_config; |
const int32 kChannelId = 42; |
- CastHostMsg_New new_msg(kChannelId, config); |
+ CastHostMsg_New new_msg(kChannelId, config, logging_config); |
FakeSend(new_msg); |
media::cast::transport::EncodedAudioFrame audio_frame; |