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

Unified Diff: media/cast/test/sender.cc

Issue 179743004: Cast: Enable raw events and stats logging in CastSessionDelegate and sender app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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 | « chrome/renderer/media/cast_session_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/sender.cc
diff --git a/media/cast/test/sender.cc b/media/cast/test/sender.cc
index 4f94a44c26ca3dc6152f13cc8861e6d0c984ea71..4e7ce5c7e7fc186462b8a7df4aa566e28e124daf 100644
--- a/media/cast/test/sender.cc
+++ b/media/cast/test/sender.cc
@@ -429,20 +429,18 @@ int main(int argc, char** argv) {
base::Bind(&UpdateCastTransportStatus),
io_message_loop.message_loop_proxy()));
- // Enable main and send side threads only. Enable raw event logging.
+ // Enable main and send side threads only. Enable raw event and stats logging.
// Running transport on the main thread.
- media::cast::CastLoggingConfig logging_config;
- logging_config.enable_raw_data_collection = true;
-
scoped_refptr<media::cast::CastEnvironment> cast_environment(
- new media::cast::CastEnvironment(clock.Pass(),
- io_message_loop.message_loop_proxy(),
- audio_thread.message_loop_proxy(),
- NULL,
- video_thread.message_loop_proxy(),
- NULL,
- io_message_loop.message_loop_proxy(),
- logging_config));
+ new media::cast::CastEnvironment(
+ clock.Pass(),
+ io_message_loop.message_loop_proxy(),
+ audio_thread.message_loop_proxy(),
+ NULL,
+ video_thread.message_loop_proxy(),
+ NULL,
+ io_message_loop.message_loop_proxy(),
+ media::cast::GetLoggingConfigWithRawEventsAndStatsEnabled()));
scoped_ptr<media::cast::CastSender> cast_sender(
media::cast::CastSender::CreateCastSender(
« no previous file with comments | « chrome/renderer/media/cast_session_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698