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

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

Issue 908023002: Chromecast: Remove useless log in BufferingController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/message_loop/message_loop_proxy.h"
10 #include "chromecast/base/metrics/cast_metrics_helper.h" 10 #include "chromecast/base/metrics/cast_metrics_helper.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 it != stream_list_.end(); ++it) { 190 it != stream_list_.end(); ++it) {
191 BufferingState::State stream_state = (*it)->GetState(); 191 BufferingState::State stream_state = (*it)->GetState();
192 if (stream_state == BufferingState::kLowLevel) 192 if (stream_state == BufferingState::kLowLevel)
193 return true; 193 return true;
194 } 194 }
195 195
196 return false; 196 return false;
197 } 197 }
198 198
199 void BufferingController::DumpState() const { 199 void BufferingController::DumpState() const {
200 CMALOG(kLogControl) << __FUNCTION__;
201 for (StreamList::const_iterator it = stream_list_.begin(); 200 for (StreamList::const_iterator it = stream_list_.begin();
202 it != stream_list_.end(); ++it) { 201 it != stream_list_.end(); ++it) {
203 CMALOG(kLogControl) << (*it)->ToString(); 202 CMALOG(kLogControl) << (*it)->ToString();
204 } 203 }
205 } 204 }
206 205
207 } // namespace media 206 } // namespace media
208 } // namespace chromecast 207 } // namespace chromecast
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698