OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/browser/media/cast_transport_host_filter.h" | 5 #include "chrome/browser/media/cast_transport_host_filter.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/common/cast_messages.h" | 10 #include "chrome/common/cast_messages.h" |
11 #include "components/net_log/chrome_net_log.h" | 11 #include "components/net_log/chrome_net_log.h" |
12 #include "content/public/browser/power_save_blocker.h" | 12 #include "content/public/browser/power_save_blocker.h" |
13 #include "media/cast/net/cast_transport.h" | 13 #include "media/cast/net/cast_transport.h" |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 // How often to send raw events. | 17 // How often to send raw events. |
18 const int kSendRawEventsIntervalSecs = 1; | 18 const int kSendRawEventsIntervalSecs = 1; |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 if (sender) { | 358 if (sender) { |
359 sender->SendRtcpFromRtpReceiver(); | 359 sender->SendRtcpFromRtpReceiver(); |
360 } else { | 360 } else { |
361 DVLOG(1) | 361 DVLOG(1) |
362 << "CastTransportHostFilter::OnSendRtcpFromRtpReceiver " | 362 << "CastTransportHostFilter::OnSendRtcpFromRtpReceiver " |
363 << "on non-existing channel"; | 363 << "on non-existing channel"; |
364 } | 364 } |
365 } | 365 } |
366 | 366 |
367 } // namespace cast | 367 } // namespace cast |
OLD | NEW |