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

Unified Diff: webkit/tools/test_shell/test_shell.cc

Issue 216022: Allow <audio> to work in extension (Closed)
Patch Set: omments Created 11 years, 3 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
« no previous file with comments | « webkit/glue/webkit_glue.h ('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 19ff9321f8d56a7462282f16da06525baa164d66..3912d0a8226147bb1f84c5308018d065006dc4bd 100644
--- a/webkit/tools/test_shell/test_shell.cc
+++ b/webkit/tools/test_shell/test_shell.cc
@@ -672,6 +672,12 @@ bool IsDefaultPluginEnabled() {
return false;
}
+bool IsProtocolSupportedForMedia(const GURL& url) {
+ if (url.SchemeIsFile() || url.SchemeIs("http") || url.SchemeIs("https"))
+ return true;
+ return false;
+}
+
std::wstring GetWebKitLocale() {
return L"en-US";
}
« no previous file with comments | « webkit/glue/webkit_glue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698