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

Unified Diff: chromecast/shell/browser/cast_content_browser_client.cc

Issue 605033003: Chromecast: adds scheme for local file support in Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/shell/browser/cast_content_browser_client.cc
diff --git a/chromecast/shell/browser/cast_content_browser_client.cc b/chromecast/shell/browser/cast_content_browser_client.cc
index 68281b6294477fcb2bae0aee1158447fe8e7d598..b2e6db72af12fa8e7784fdccda9ede301214840c 100644
--- a/chromecast/shell/browser/cast_content_browser_client.cc
+++ b/chromecast/shell/browser/cast_content_browser_client.cc
@@ -68,6 +68,9 @@ bool CastContentBrowserClient::IsHandledURL(const GURL& url) {
content::kChromeUIScheme,
content::kChromeDevToolsScheme,
url::kDataScheme,
+#if defined(OS_ANDROID)
+ url::kFileScheme,
+#endif // defined(OS_ANDROID)
};
const std::string& scheme = url.scheme();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698