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

Side by Side Diff: chromecast/media/cma/base/buffering_controller.cc

Issue 1142513004: Chromecast: MessageLoopProxy cleanup --> SingleThreadTaskRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chromecast/media/cma/base/balanced_media_task_runner_unittest.cc ('k') | chromecast/media/cma/filters/cma_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698