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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 1509663003: make multibuffer work with layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media_cache.integrate3
Patch Set: merged & formatted Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: media/blink/webmediaplayer_impl.cc
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
index 6bb95327f98b41830f0fdaf5e2f8bc03aa7a8f8a..c0db377cd2c2283d15d0eedda8cc9a781fbd7973 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -256,6 +256,7 @@ void WebMediaPlayerImpl::load(LoadType load_type, const blink::WebURL& url,
void WebMediaPlayerImpl::DoLoad(LoadType load_type,
const blink::WebURL& url,
CORSMode cors_mode) {
+ DVLOG(1) << __FUNCTION__;
DCHECK(main_task_runner_->BelongsToCurrentThread());
GURL gurl(url);
@@ -928,6 +929,7 @@ void WebMediaPlayerImpl::OnPipelineEnded() {
}
void WebMediaPlayerImpl::OnPipelineError(PipelineStatus error) {
+ DVLOG(1) << __FUNCTION__;
DCHECK(main_task_runner_->BelongsToCurrentThread());
DCHECK_NE(error, PIPELINE_OK);
@@ -1138,6 +1140,7 @@ void WebMediaPlayerImpl::Resume() {
}
void WebMediaPlayerImpl::DataSourceInitialized(bool success) {
+ DVLOG(1) << __FUNCTION__;
DCHECK(main_task_runner_->BelongsToCurrentThread());
if (!success) {
@@ -1149,6 +1152,7 @@ void WebMediaPlayerImpl::DataSourceInitialized(bool success) {
}
void WebMediaPlayerImpl::NotifyDownloading(bool is_downloading) {
+ DVLOG(1) << __FUNCTION__;
if (!is_downloading && network_state_ == WebMediaPlayer::NetworkStateLoading)
SetNetworkState(WebMediaPlayer::NetworkStateIdle);
else if (is_downloading && network_state_ == WebMediaPlayer::NetworkStateIdle)

Powered by Google App Engine
This is Rietveld 408576698