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

Unified Diff: webkit/media/buffered_data_source.cc

Issue 8616008: Remove IsProtocolSupportedForMedia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: webkit/media/buffered_data_source.cc
diff --git a/webkit/media/buffered_data_source.cc b/webkit/media/buffered_data_source.cc
index a1ea024c3a275eb5ab9fb38a91ba8968d25eca0e..2d7b8c9cfde9a7ce3d475a6a8b0500a6a32ea88b 100644
--- a/webkit/media/buffered_data_source.cc
+++ b/webkit/media/buffered_data_source.cc
@@ -9,7 +9,6 @@
#include "media/base/media_log.h"
#include "net/base/net_errors.h"
#include "webkit/media/web_data_source_factory.h"
-#include "webkit/glue/webkit_glue.h"
using WebKit::WebFrame;
@@ -105,9 +104,6 @@ void BufferedDataSource::Initialize(const std::string& url,
if (url_.SchemeIs(kDataScheme)) {
callback.Run(media::DATASOURCE_ERROR_URL_NOT_SUPPORTED);
return;
- } else if (!webkit_glue::IsProtocolSupportedForMedia(url_)) {
- callback.Run(media::PIPELINE_ERROR_NETWORK);
- return;
}
DCHECK(!callback.is_null());

Powered by Google App Engine
This is Rietveld 408576698