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

Unified Diff: content/renderer/renderer_glue.cc

Issue 8616008: Remove IsProtocolSupportedForMedia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile 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
« no previous file with comments | « content/renderer/mock_content_renderer_client.cc ('k') | content/shell/shell_content_renderer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_glue.cc
diff --git a/content/renderer/renderer_glue.cc b/content/renderer/renderer_glue.cc
index 3b3f01aebe4586312e950f8a8c31001f6649c8cd..4ef9d2864c51f06598186efb5051491e81549382 100644
--- a/content/renderer/renderer_glue.cc
+++ b/content/renderer/renderer_glue.cc
@@ -157,19 +157,6 @@ void GetPlugins(bool refresh,
new ViewHostMsg_GetPlugins(refresh, plugins));
}
-bool IsProtocolSupportedForMedia(const GURL& url) {
- // If new protocol is to be added here, we need to make sure the response is
- // validated accordingly in the media engine.
- if (url.SchemeIsFile() || url.SchemeIs(chrome::kHttpScheme) ||
- url.SchemeIs(chrome::kHttpsScheme) ||
- url.SchemeIs(chrome::kDataScheme) ||
- url.SchemeIs(chrome::kFileSystemScheme) ||
- url.SchemeIs(chrome::kBlobScheme))
- return true;
- return
- content::GetContentClient()->renderer()->IsProtocolSupportedForMedia(url);
-}
-
// static factory function
ResourceLoaderBridge* ResourceLoaderBridge::Create(
const ResourceLoaderBridge::RequestInfo& request_info) {
« no previous file with comments | « content/renderer/mock_content_renderer_client.cc ('k') | content/shell/shell_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698