Index: url/gurl.h |
diff --git a/url/gurl.h b/url/gurl.h |
index d4ea10fbcf09ccf43461c9b801393092d79e0b30..0cadebf92dd7a3fb77ebeaddd5167763d31d6fe9 100644 |
--- a/url/gurl.h |
+++ b/url/gurl.h |
@@ -221,6 +221,13 @@ class URL_EXPORT GURL { |
return SchemeIs("filesystem"); |
} |
+#if defined(OS_ANDROID) |
+ // Content URLs need to be treated differently in some cases. |
+ bool SchemeIsContent() const { |
+ return SchemeIs("content"); |
+ } |
+#endif |
+ |
// If the scheme indicates a secure connection |
bool SchemeIsSecure() const { |
return SchemeIs("https") || SchemeIs("wss") || |