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

Unified Diff: webkit/tools/test_shell/test_shell.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
« webkit/glue/webkit_glue.h ('K') | « webkit/support/webkit_support_glue.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell.cc
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index 324c0f35bdbce876e038970588e3518fd842054e..f6d3e5b31bb43359190ebe18a5b724659af4c279 100644
--- a/webkit/tools/test_shell/test_shell.cc
+++ b/webkit/tools/test_shell/test_shell.cc
@@ -627,19 +627,8 @@ WebKit::WebGeolocationClientMock* TestShell::geolocation_client_mock() {
return geolocation_client_mock_.get();
}
-//-----------------------------------------------------------------------------
-
namespace webkit_glue {
-bool IsProtocolSupportedForMedia(const GURL& url) {
- if (url.SchemeIsFile() ||
- url.SchemeIs("http") ||
- url.SchemeIs("https") ||
- url.SchemeIs("data"))
- return true;
- return false;
-}
-
void GetPlugins(bool refresh,
std::vector<webkit::WebPluginInfo>* plugins) {
if (refresh)
« webkit/glue/webkit_glue.h ('K') | « webkit/support/webkit_support_glue.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698