Index: third_party/WebKit/Source/platform/network/NetworkUtils.h |
diff --git a/third_party/WebKit/Source/platform/network/NetworkUtils.h b/third_party/WebKit/Source/platform/network/NetworkUtils.h |
index 995a99ed6375b1f36347d07dda4a598c9f490767..18a287911327ef0dcea59b15c7b8ca3ca3e033d3 100644 |
--- a/third_party/WebKit/Source/platform/network/NetworkUtils.h |
+++ b/third_party/WebKit/Source/platform/network/NetworkUtils.h |
@@ -34,6 +34,10 @@ PLATFORM_EXPORT PassRefPtr<SharedBuffer> ParseDataURLAndPopulateResponse( |
const KURL&, |
ResourceResponse&); |
+// Returns true if the URL is a data URL and its MIME type is in the list of |
+// supported/recognized MIME types. |
+PLATFORM_EXPORT bool IsDataURLMimeTypeSupported(const KURL&); |
+ |
PLATFORM_EXPORT bool IsRedirectResponseCode(int); |
} // NetworkUtils |