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 "chromecast/media/cma/base/buffering_controller.h" | 5 #include "chromecast/media/cma/base/buffering_controller.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/message_loop/message_loop_proxy.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "chromecast/base/metrics/cast_metrics_helper.h" | 10 #include "chromecast/base/metrics/cast_metrics_helper.h" |
11 #include "chromecast/media/cma/base/buffering_state.h" | 11 #include "chromecast/media/cma/base/buffering_state.h" |
12 #include "chromecast/media/cma/base/cma_logging.h" | 12 #include "chromecast/media/cma/base/cma_logging.h" |
13 #include "media/base/buffers.h" | 13 #include "media/base/buffers.h" |
14 | 14 |
15 namespace chromecast { | 15 namespace chromecast { |
16 namespace media { | 16 namespace media { |
17 | 17 |
18 BufferingController::BufferingController( | 18 BufferingController::BufferingController( |
19 const scoped_refptr<BufferingConfig>& config, | 19 const scoped_refptr<BufferingConfig>& config, |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 void BufferingController::DumpState() const { | 199 void BufferingController::DumpState() const { |
200 for (StreamList::const_iterator it = stream_list_.begin(); | 200 for (StreamList::const_iterator it = stream_list_.begin(); |
201 it != stream_list_.end(); ++it) { | 201 it != stream_list_.end(); ++it) { |
202 CMALOG(kLogControl) << (*it)->ToString(); | 202 CMALOG(kLogControl) << (*it)->ToString(); |
203 } | 203 } |
204 } | 204 } |
205 | 205 |
206 } // namespace media | 206 } // namespace media |
207 } // namespace chromecast | 207 } // namespace chromecast |
OLD | NEW |