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

Unified Diff: webkit/media/webmediaplayer_impl.cc

Issue 10808087: Remove use of PipelineStatus from BufferedDataSource and FileDataSource. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« media/tools/player_wtl/movie.cc ('K') | « webkit/media/webmediaplayer_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediaplayer_impl.cc
diff --git a/webkit/media/webmediaplayer_impl.cc b/webkit/media/webmediaplayer_impl.cc
index c023610b73e03a76a850e77974e51842e1c60ef0..ddeeab1b7e796156fd899aa531eb79321cca72af 100644
--- a/webkit/media/webmediaplayer_impl.cc
+++ b/webkit/media/webmediaplayer_impl.cc
@@ -951,13 +951,10 @@ void WebMediaPlayerImpl::SetOpaque(bool opaque) {
GetClient()->setOpaque(opaque);
}
-void WebMediaPlayerImpl::DataSourceInitialized(
- const GURL& gurl,
- media::PipelineStatus status) {
+void WebMediaPlayerImpl::DataSourceInitialized(const GURL& gurl, bool status) {
Ami GONE FROM CHROMIUM 2012/07/23 21:11:05 s/status/success/
scherkus (not reviewing) 2012/07/23 21:20:18 Done.
DCHECK_EQ(main_loop_, MessageLoop::current());
- if (status != media::PIPELINE_OK) {
- DVLOG(1) << "DataSourceInitialized status: " << status;
+ if (!status) {
SetNetworkState(WebMediaPlayer::NetworkStateFormatError);
Repaint();
return;
« media/tools/player_wtl/movie.cc ('K') | « webkit/media/webmediaplayer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698