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

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

Issue 69603002: Incorporating logging into Cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding scoped_ptr include Created 7 years, 1 month 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 | « media/cast/test/receiver.cc ('k') | media/cast/video_receiver/codecs/vp8/vp8_decoder.cc » ('j') | 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 6634959c3874dd3d63c7abaac931da0515d6ffd5..90395d40c36e8e80b7d9648320dd220a54d3c4f8 100644
--- a/media/cast/test/sender.cc
+++ b/media/cast/test/sender.cc
@@ -16,6 +16,7 @@
#include "media/cast/cast_config.h"
#include "media/cast/cast_environment.h"
#include "media/cast/cast_sender.h"
+#include "media/cast/logging/logging_defines.h"
#include "media/cast/test/audio_utility.h"
#include "media/cast/test/transport/transport.h"
#include "media/cast/test/utility/input_helper.h"
@@ -284,10 +285,11 @@ int main(int argc, char** argv) {
scoped_refptr<base::SequencedTaskRunner>
task_runner(main_message_loop.message_loop_proxy());
- // Enable main and send side threads only.
+ // Enable main and send side threads only. Disable logging.
+ media::cast::CastLoggingConfig logging_config;
scoped_refptr<media::cast::CastEnvironment> cast_environment(new
media::cast::CastEnvironment(&clock, task_runner, task_runner, NULL,
- task_runner, NULL));
+ task_runner, NULL, media::cast::GetDefaultCastLoggingConfig()));
media::cast::AudioSenderConfig audio_config =
media::cast::GetAudioSenderConfig();
« no previous file with comments | « media/cast/test/receiver.cc ('k') | media/cast/video_receiver/codecs/vp8/vp8_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698