OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/renderer/media/cast_session_delegate.h" | 5 #include "chrome/renderer/media/cast_session_delegate.h" |
6 | 6 |
7 #include "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
| 13 #include "build/build_config.h" |
13 #include "chrome/renderer/media/cast_threads.h" | 14 #include "chrome/renderer/media/cast_threads.h" |
14 #include "chrome/renderer/media/cast_transport_sender_ipc.h" | 15 #include "chrome/renderer/media/cast_transport_sender_ipc.h" |
15 #include "components/version_info/version_info.h" | 16 #include "components/version_info/version_info.h" |
16 #include "content/public/renderer/render_thread.h" | 17 #include "content/public/renderer/render_thread.h" |
17 #include "media/cast/cast_config.h" | 18 #include "media/cast/cast_config.h" |
18 #include "media/cast/cast_environment.h" | 19 #include "media/cast/cast_environment.h" |
19 #include "media/cast/cast_sender.h" | 20 #include "media/cast/cast_sender.h" |
20 #include "media/cast/logging/log_serializer.h" | 21 #include "media/cast/logging/log_serializer.h" |
21 #include "media/cast/logging/logging_defines.h" | 22 #include "media/cast/logging/logging_defines.h" |
22 #include "media/cast/logging/proto/raw_events.pb.h" | 23 #include "media/cast/logging/proto/raw_events.pb.h" |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 error_callback.Run(base::StringPrintf("%s codec runtime error.", | 307 error_callback.Run(base::StringPrintf("%s codec runtime error.", |
307 is_for_audio ? "Audio" : "Video")); | 308 is_for_audio ? "Audio" : "Video")); |
308 break; | 309 break; |
309 } | 310 } |
310 } | 311 } |
311 | 312 |
312 void CastSessionDelegate::ReceivePacket( | 313 void CastSessionDelegate::ReceivePacket( |
313 scoped_ptr<media::cast::Packet> packet) { | 314 scoped_ptr<media::cast::Packet> packet) { |
314 // Do nothing (frees packet) | 315 // Do nothing (frees packet) |
315 } | 316 } |
OLD | NEW |