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 a6b2778010a4b86a5dc178bb2deb1bb235c4ebca..5c8750ab1924f027ffd92d0157ba8adc09381cb7 100644 |
--- a/third_party/WebKit/Source/platform/network/NetworkUtils.h |
+++ b/third_party/WebKit/Source/platform/network/NetworkUtils.h |
@@ -12,6 +12,7 @@ namespace blink { |
class KURL; |
class SharedBuffer; |
+class ResourceResponse; |
namespace NetworkUtils { |
@@ -27,11 +28,11 @@ PLATFORM_EXPORT bool isLocalHostname(const String& host, bool* isLocal6); |
PLATFORM_EXPORT String getDomainAndRegistry(const String& host, |
PrivateRegistryFilter); |
-// Returns the decoded data url if url had a supported mimetype and parsing was |
-// successful. |
-PLATFORM_EXPORT PassRefPtr<SharedBuffer> parseDataURL(const KURL&, |
- AtomicString& mimetype, |
- AtomicString& charset); |
+// Returns the decoded data url as ResourceResponse and SharedBuffer |
+// if url had a supported mimetype and parsing was successful. |
+PLATFORM_EXPORT PassRefPtr<SharedBuffer> parseDataURLAndPopulateResponse( |
+ const KURL&, |
+ ResourceResponse&); |
PLATFORM_EXPORT bool isRedirectResponseCode(int); |